Jag ändrade till @@fetch_status
men jag får felmeddelande i query analyzer...:
Server: Msg 16915, Level 16, State 1, Procedure proc_deleteDirectory, Line 9
A cursor with the name 'cursor_a' already exists.
Server: Msg 16905, Level 16, State 1, Procedure proc_deleteDirectory, Line 13
The cursor is already open.
Server: Msg 16915, Level 16, State 1, Procedure proc_deleteDirectory, Line 9
A cursor with the name 'cursor_a' already exists.
Server: Msg 16905, Level 16, State 1, Procedure proc_deleteDirectory, Line 13
The cursor is already open.
(0 row(s) affected)
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 19
A cursor with the name 'cursor_a' does not exist.
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 21
A cursor with the name 'cursor_a' does not exist.
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 22
A cursor with the name 'cursor_a' does not exist.
(2 row(s) affected)
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 19
A cursor with the name 'cursor_a' does not exist.
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 21
A cursor with the name 'cursor_a' does not exist.
Server: Msg 16916, Level 16, State 1, Procedure proc_deleteDirectory, Line 22
A cursor with the name 'cursor_a' does not exist.
Den raderar alla där fldCatParentID är lika med den ingående parametern.