Anotheq SQL Question
declare @x as int -- for counter
declare @y as float -- for max counter
set @x = 0
set @y = 10
while @x <= @y
begin
print @xset @x = @x + 1
set @y = @y-0.67
end
What would be the result?? Do not run this. Just do an educated guess.
Answer: (Selected the below text as I am using the same text color as the background)
0, 1, 2, 3, 4, and 5 in separate rows
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home