MySQL Forums
Forum List  »  Stored Procedures

Re: how to declare cursor in middle of stored procedure
Posted by: Peter Brawley
Date: October 19, 2016 11:10AM

create procedure ...
begin
  ... code ...
  begin
    declare cursor for ...
    ... code ...
  end;
  ... code ...
end;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to declare cursor in middle of stored procedure
2948
October 19, 2016 11:10AM


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.