MySQL Forums
Forum List  »  PHP

Re: ternary operator inside a query
Posted by: Peter Brawley
Date: February 25, 2015 11:29AM

> The above control structures assume that there always be an expression in the query something I do not want...

Then you need to generate the query in a stored procedure, or in a more complete language, ie the app's API language (PHP, C#, whatever)

Options: ReplyQuote


Subject
Written By
Posted
Re: ternary operator inside a query
February 25, 2015 11:29AM


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.