MySQL Forums
Forum List  »  Stored Procedures

Re: TOO_MANY_ROWS
Posted by: Peter Brawley
Date: July 13, 2020 10:37AM

Your exception handler has multiple lines so it needs begin...end:

  declare EXIT handler for SQLEXCEPTION 
    begin
      SET has_error=1;
      select 'TOO MANY ROWS';
    end;

Options: Reply• Quote


Subject
Views
Written By
Posted
2083
July 13, 2020 08:31AM
684
July 13, 2020 08:39AM
852
July 13, 2020 09:20AM
Re: TOO_MANY_ROWS
1023
July 13, 2020 10:37AM
751
July 13, 2020 11:07AM
665
July 13, 2020 02:54PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.