当前位置: 代码迷 >> Sql Server >> 如何得到行数
  详细解决方案

如何得到行数

热度:62   发布时间:2016-04-27 16:10:51.0
怎么得到行数?
select   *   from   tabl  

比如这个得到了120行,现在我怎么可能行到这个120的数字?


------解决方案--------------------
Declare @X int,@Y int,@Z Numeric(10,2)
Select @X=Count(*) From tabl_A
Select @Y=Count(*) From tabl_B
Set @[email protected][email protected]
Select @Z
  相关解决方案