如何实现以表名为参数的存储过程?
createproceduretable_info@table_namevarchar(10)asselect*from@table_name(@table_name提示...
create procedure table_info
@table_name varchar(10)
as
select *
from @table_name
(@table_name提示报错) 展开
@table_name varchar(10)
as
select *
from @table_name
(@table_name提示报错) 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询