2011年9月28日
摘要: create table my_test( id int identity(1,1), [name] int)godeclare @theCount intset @theCount=1while @theCount<100begin insert into my_test values(@theCount) set @theCount=@theCount+1 waitfor delay '00:00:05'endwaitfor表示暂停后面的sql的执行time 表示到时间以后在执行而delay 每次执行延迟的时间同时需要注意的是 执行结果它会在完成整个sql的执行以后才 阅读全文
posted @ 2011-09-28 14:24 叮叮猫的编程世界 阅读(310) 评论(0) 推荐(0) 编辑