MySQL Forums :: Stored Procedures :: how to declare cursor in middle of stored procedure


Advanced Search

Re: how to declare cursor in middle of stored procedure
Posted by: BHANU PRATAP MUNAGALA ()
Date: October 19, 2016 08:22AM

Hi

Thanks for the update. COMPUTE_WEEKS() is a custom defined function which I am calling in the procedure. "PROJECTED" is a table column which I am using to mark it as "Y" or "N". So my only question is can we declare cursors in middle of the stored program or do we need do at the declaration section only ?

Options: ReplyQuote


Subject Views Written By Posted
how to declare cursor in middle of stored procedure 2176 BHANU PRATAP MUNAGALA 10/19/2016 03:36AM
Re: how to declare cursor in middle of stored procedure 254 Jon Stephens 10/19/2016 06:21AM
Re: how to declare cursor in middle of stored procedure 290 BHANU PRATAP MUNAGALA 10/19/2016 08:22AM
Re: how to declare cursor in middle of stored procedure 370 Peter Brawley 10/19/2016 09:26AM
Re: how to declare cursor in middle of stored procedure 254 BHANU PRATAP MUNAGALA 10/19/2016 10:04AM
Re: how to declare cursor in middle of stored procedure 356 Peter Brawley 10/19/2016 11:10AM
Re: how to declare cursor in middle of stored procedure 268 Rick James 10/19/2016 11:47PM


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.