简短的答案是没有。
在SQL Server中执行查询..atleast之前,您无法获得行数。
最好的方法是使用
Select count(*) from <table> where <condtion>
然后执行您的实际查询
[delete]or [update] [set col='val'] from <table> where <condtion>

简短的答案是没有。
在SQL Server中执行查询..atleast之前,您无法获得行数。
最好的方法是使用
Select count(*) from <table> where <condtion>
然后执行您的实际查询
[delete]or [update] [set col='val'] from <table> where <condtion>