MySQL Forums
Forum List  »  Stored Procedures

Re: How can I check if the cursor in my stored procedure has been defined or opened
Posted by: Peter Brawley
Date: April 08, 2019 09:33AM

Stub it ...

Before the open cmd ...

set @cursor_open = 0;

After it opens ...

set @cursor_open = 1;

After the sproc runs ...

select @select cursor_open;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How can I check if the cursor in my stored procedure has been defined or opened
378
April 08, 2019 09:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.