Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Where am i going wrong with this IF Exist Else RE: Where am i going wrong with this IF Exist Else
DHeath
SSCertifiable
Points: 5200
More actions
March 23, 2018 at 7:02 am
#1984399
Thanks for the reply... The error isMsg 102, Level 15, State 1, Line 1Incorrect syntax near '@Loop = @Loop + 1'.
If there is another way to loop thru this i am okay with it but i know its VERY close to being there..