How do I close an SQL Server generated cursor?
I am currently trying:
CLOSE xCursorName
REALLOCATE xCursorName
Program Error when the follwing code is reached:
IF USED('xCursorName')
SELECT xCursorName
USE
ENDIF
This error lead me to believe that the cursor is not released. Any help
Thank You,
Marissa
I am currently trying:
CLOSE xCursorName
REALLOCATE xCursorName
Program Error when the follwing code is reached:
IF USED('xCursorName')
SELECT xCursorName
USE
ENDIF
This error lead me to believe that the cursor is not released. Any help
Thank You,
Marissa