MS 批量新增最简模式

declare @a int,@b int
set @a=1
while(@a <100)
 begin
  insert into student(sname) values ('zhangsan'+cast(@a as char(3)))
  set @a = @a +1;
 end
 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2026年1月    »
1234
567891011
12131415161718
19202122232425
262728293031
搜索
标签列表
网站分类
最新留言
    文章归档
    友情链接

    Powered By Z-BlogPHP 1.7.4

    Copyright Your WebSite.Some Rights Reserved.闽ICP备11018667号-2