MySQL Forums
Forum List  »  General

Re: SQL Syntax Error
Posted by: C R
Date: January 03, 2012 05:38AM

My apologies. I had a typo in my original post. I left out "found".

declare exit handler for not found return concat(error(), 'lookup value not found');

Is my issue with the use of the user declared function: error() ? I couldn't seem to find that error was a keyword or anything. I tried throwing single quotes around 'error'() and I also tried putting a space between error ().

Any input is greatly appreciated.

Options: ReplyQuote


Subject
Written By
Posted
C R
January 02, 2012 05:53AM
January 02, 2012 12:31PM
Re: SQL Syntax Error
C R
January 03, 2012 05:38AM
January 03, 2012 10:37AM


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.