小白求教,在存储过程中得到一个表的总的行数,应该怎么写,下面的写法对吗?
createproceduredivide_tbasdeclare@countset@count=selectcount(*)fromlovego...
create procedure divide_tb
as
declare @count
set @count=select count(*) from love
go 展开
as
declare @count
set @count=select count(*) from love
go 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询