MySQL Forums
Forum List  »  Stored Procedures

Re: Get the code and description of an error within a stored procedure
Posted by: Peter Brawley
Date: November 04, 2017 08:00PM

> would I be able to get the contents of sqlstate without needing
> to tabulate each error code, would I have?

You have three choices (i) upgrade to a version that implements Get Diagnostics, (ii) create a table of sqlstate codes and texts from the sources cited, (iii) tabulate them directly in an sproc.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Get the code and description of an error within a stored procedure
621
November 04, 2017 08:00PM


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.