MySQL Forums
Forum List  »  Newbie

mysql stored procedure with variable table name
Posted by: Alexios Maroudas
Date: August 31, 2004 04:52AM

Hello all!

I have a small question concerning mysql! I would like to create a stored procedure that will take as input the teable name from which to select all columns. something like
"select * from variable_that_came_as_input"
Is there anyone who can help me out on that? I've seen it work but I don't know how to do it.

thanx a lot
axelmangr

Options: ReplyQuote


Subject
Written By
Posted
mysql stored procedure with variable table name
August 31, 2004 04:52AM


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.