答案:declare @str varchar(200)
set @str='select 1 a,2 b into #ab'+char(13)+'select 3 a,4 b into #ac'+char(13)+'select * from #ab union select * from #ac'
exec(@str)这样写好复杂啊
set @str='select 1 a,2 b into #ab'+char(13)+'select 3 a,4 b into #ac'+char(13)+'select * from #ab union select * from #ac'
exec(@str)这样写好复杂啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货