Home Forums SQL Server 2005 Development Using Cursors Inside Stored procedure problem RE: Using Cursors Inside Stored procedure problem
Ian Scarlett
SSC-Insane
Points: 23197
More actions
November 18, 2009 at 1:03 am
#1080719
You're thinking in Visual Basic (or similar) not TSQL... 🙂
if @TransCode='TR001'
SET @p1 = dbo.AddFltAmount(@p1,@Flt_Amount) --here where i am getting error
--this would also cause an error end if