February 8, 2013 at 2:41 am
Hi Team,
- if cursor is not closed / deallcated, then below is the error msg
Msg 16915, Level 16, State 1, Line 7
A cursor with the name 'cur_emp' already exists.
Msg 16905, Level 16, State 1, Line 9
The cursor is already open.
February 8, 2013 at 4:22 am
Minnu (2/8/2013)
Hi Team,- if cursor is not closed / deallcated, then below is the error msg
Msg 16915, Level 16, State 1, Line 7
A cursor with the name 'cur_emp' already exists.
Msg 16905, Level 16, State 1, Line 9
The cursor is already open.
Thanks for the reminder, Minnu. I haven't seen this error message for a very, very long time ๐
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
February 8, 2013 at 5:46 am
You need to close cursor and
de allocate it to make it functional
and not come up with an error.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply