在SQL Server中,下面T-SQL代码运行完的结果是()_x000D_
declare @counter int_x000D_
set @counter=1_x000D_
while @counter<3_x000D_
begin_x000D_
set @counter=@counter+1_x000D_
print @counter_x000D_
break_x000D_
print ‘loop’_x000D_
end
A2 loop
B2
C2 loop 3 loop
D2 3
相关试题
-
在SQL Server中,下面T-SQL代码运行完的结果是()_x000D_ declare @counter int_x000D_ set @counter=1_x000D_ while @coun
-
在SQL Server中,下面T-SQL代码运行完的结果是() declare @counter int set @counter=1 while @counter<3 begin set @
-
下面T-SQL代码运行完的结果是( ) declare @counter int set @counter=1 while @counter<3
-
在SQL Server中,执行以下语句, 执行的循环次数为( )_x000D_ declare @n int _x000D_ set @n=3 _x000D_ while @n<5 _x0
-
在SQL Server中,以下代码运行结果是( ) _x000D_ declare @sum int,@count int_x000D_ select @sum=0,@count=1_x000D_ L