您的位置:首页 > 数据库

用存储过程在数据库中批量插入数据1w条

2013-04-17 19:44 344 查看
Create proc Sp_Test
As     --易漏
Begin
Declare @Count Int
set @Count =0
while (@count <10000)
Begin
Insert into dbo.Users
values ('will','123')
set @Count =@Count +1
End
End


  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐