+ 2
How to create script in sql server?
i want to create a script in sql server for using for and if in my query
3 Answers
+ 13
declare @counter int = 0;
while @counter < 10
begin
if @counter = 5
break;
else
select getdate()
set @counter = @counter+1;
end;
+ 1
thanks
0
where are you r8w8