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 12:13AM

What's unclear? Read the text of one of those sources into a text file. Use whatever tool you like to format it so it can be imported into a table, eg with Load Data Infile. Now your sproc can run a query looking up a sqlstate code in your table.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Get the code and description of an error within a stored procedure
670
November 04, 2017 12:13AM


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.