阅读背景:

SQL for循环使用Select语句中返回的ID

来源:互联网 

I need to delete a bunch of rows from my database under a certain condition. I have the select statement to return this condition and then for each row in this select statement I need it execute an SP that will delete these rows and a load of related rows. So far I have:I need to delete a bunch of rows from my databa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: