Home Forums SQL Server 7,2000 General Inserting rows Using Cursors in Stored Procedure RE: Inserting rows Using Cursors in Stored Procedure

  • If you insist on using a cursor.

    You should check the @@getstatus after the fetch next or, before the fetch next, initialze your variable on NUll and after the fetch next, test if the variable is not null