MySQL Forums
Forum List  »  Stored Procedures

Re: passing a table as a INPUT parameter to a stored procedure
Posted by: Peter Brawley
Date: June 18, 2016 11:14AM

> mysql> call dyn_sql(SOURCE, temp_table,123,sjdladj);

source, temp_table and sjdladj are unquoted strings, which tells MySQL to treat them as identifiers, which it can't since they have no context. If you mean to send them in as string constants, you need to quote them.

After executig a repared stmt, you need to call Drop Prepare.

Options: ReplyQuote

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.