CREATE procedure test
@t1 char(20),@t2 char(20),@t3 char(20),@t4 char(20)
as
exec('select'+ @t1+'from table where test01='+@t4+'and'+ @t2+'='+@t3')
GO
@t1 char(20),@t2 char(20),@t3 char(20),@t4 char(20)
as
exec('select'+ @t1+'from table where test01='+@t4+'and'+ @t2+'='+@t3')
GO
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货