MySQL Forums
Forum List  »  Stored Procedures

Re: Dynamic SQL problem in Store Procedure
Posted by: Peter Brawley
Date: July 18, 2012 09:54AM

> MySQL tells me there is any error in my syntax. And, I can't see it.

It has multiple errors, eg ...

('SELECT ID, replace(replace(field_a,''*'',''''),''\''',''\\'''')

confounds data values and column references in a way that cannot work.

Consider writing out a detailed specification of what this sproc is meant to do.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Dynamic SQL problem in Store Procedure
1180
July 18, 2012 09:54AM


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.