declare @i int
set @i=1
while @i<=1000
begin
insert into News_ITM(title,msg,subDateTime,author,imagePath) values('TITLE'+cast(@i as nvarchar(50)),'内容'+cast(@i as NCHAR),GETDATE(),'admin',null)
set @i = @i +1
end
declare @i int
set @i=1
while @i<=1000
begin
insert into News_ITM(title,msg,subDateTime,author,imagePath) values('TITLE'+cast(@i as nvarchar(50)),'内容'+cast(@i as NCHAR),GETDATE(),'admin',null)
set @i = @i +1
end