MySQL Forums
Forum List  »  Stored Procedures

Re: prepare statement - table as wildcard
Posted by: Peter Brawley
Date: September 17, 2012 09:38AM

Placeholders can be used only for data.

PREPARE stmt FROM Concat( "SELECT * FROM ", @entity_name );

Options: ReplyQuote


Subject
Views
Written By
Posted
1670
September 16, 2012 10:07PM
Re: prepare statement - table as wildcard
938
September 17, 2012 09:38AM


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.