declare @s as varchar(20)
declare a cursor for select f from b
open a
fetch next from a into @s
while @@fetch_status=0
begin
exec('select * from a where ' +@s)
fetch next from a into @s
end
close a
deallocate ago
declare a cursor for select f from b
open a
fetch next from a into @s
while @@fetch_status=0
begin
exec('select * from a where ' +@s)
fetch next from a into @s
end
close a
deallocate ago
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货