MySQL Forums
Forum List  »  InnoDB

SQL Sytax for a conditional array
Posted by: Patrick Locke
Date: April 02, 2008 02:21PM

Is there a function to do the following:

IF ((1,2,3),("ready","Aim","Fire"))

replace values foung in one array with those listed in another?

that's a crude example but i have a database where i only have reading and query access. soemetimes i want to output different values that those that are in the database to my report.

It would be a very nice function if there were one.

Options: ReplyQuote


Subject
Views
Written By
Posted
SQL Sytax for a conditional array
2687
April 02, 2008 02:21PM


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.