有个表tt
描述为:
q (PK,int,not null) w (nchar(10),not null) e (int,not null) r (int,not null) t (int,not null) y (int,not null) u (int,not null) i (int,not null) o (int,not null) p (int,not null)
declare @a int set @a=1 while @a<10001 begin insert into tt (q,w,e,r,t,y,u,i,o,p) values (@a,'a',1,1,1,1,1,1,1,1) set @a=@a+1 end
原文地址:http://blog.csdn.net/wdkirchhoff/article/details/42388103