摘要: 分割再成批插入declare @s varchar(8000),@sql nvarchar(4000)set @s='1,12,1212,4545'set @sql='insert into t(col) select '+replace(@s,',',' col union all select ')exec(@sql)测试drop table #tabledeclare @s varcha... 阅读全文
posted @ 2007-08-14 10:45 hq5460 阅读(388) 评论(0) 推荐(0) 编辑