Home Forums SQL Server 2005 Development Using Cursors Inside Stored procedure problem RE: Using Cursors Inside Stored procedure problem

  • Syntactical!

    if @TransCode='TR001'

    BEGIN

    SET @p1 = dbo.AddFltAmount(@p1,@Flt_Amount) --here where i am getting error

    END

    ....and dont put end if!

    ---------------------------------------------------------------------------------