Home Forums SQLServerCentral.com Editorials How do you solve T-SQL problems? RE: How do you solve T-SQL problems?
lnardozi 61862
SSCommitted
Points: 1931
More actions
May 22, 2013 at 6:33 am
#1617386
declare @i int,@done bit
select @i = 0, @done = false
while i<10
begin
try something
observe effects
modify approach
if works then
set @done = 1
end
if not @done
seek help