How to include the total number of returned rows in the resultset from SELECT T-SQL command?

前端 未结 7 1512
一整个雨季
一整个雨季 2020-12-09 09:29

I would like to ask if there is a way to include the total number of rows, as an additional column, in the returned result sets from a TSQL query using also the Row_Nu

相关标签:
7条回答
  • 2020-12-09 10:03

    Perhaps what you'er looking for is @@ROWCOUNT?

    0 讨论(0)
提交回复
热议问题