S sakuraljj Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-30 #1 在一个表里面输入了一条数据,如何在同一表里面再重复插入多条相同的数据,这个循环的sql怎么去写?
S s00000000001 Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-30 #2 declare @i int set @i = 1 while @i < 50 begin insert ....... set @i = @i + 1 end
F fuyou Unregistered / Unconfirmed GUEST, unregistred user! 2007-08-30 #4 INSERT INTO 表1(F1,F2,F3,F4) SELECT TOP 1 F1,F2,F3,F4 FROM 表1