SQL server数据库块编程代码
时间:2021-07-01 10:21:17
帮助过:35人阅读
declare @N int=0
2 while @N<=100
3 begin
4 print @N;
5 begin
6 if @N%2=0
7 print getdate();
8 else
9 select GETDATE();
10 end
11 set @N=@N+1
12 end
View Code
SQL server数据库块编程代码
标签:sel show pen 数据 span 编程 pre closed server