Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

deallocating cursor try catch

$
0
0

Hi.

What happens if there is an error in a cursor
and I don't close and deallocate the cursor in the try catch?

Can this be a problem?


If it is a problem how can I do to close the cursors If I have for example five cursors in a stored procedure?

Thanks.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>