C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着
drop proc alls go create proc alls as begin declare @in int declare @sql varchar(500) set @in=0 while @in<100 begin set @sql='insert into jiameng(comname,comadd,comtel,jiamengcontent) values('''+cast(@in as varchar(50))+''',''ss'',''qq'',''zz'')' --set @sql='insert into jiameng(comname,comadd,comtel,jiamengcontent) values('''+cast(@in as varchar(50))+''','ss','qq','zz')' exec(@sql) set @in=@in+1 end end go
posted on 2008-06-12 00:01  王德田  阅读(350)  评论(0编辑  收藏  举报