Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the output of a SELECT statement 1

Status
Not open for further replies.

LaundroMat

Programmer
Dec 2, 2003
67
BE
Is it possible in MySQL to do something like this:
Code:
SELECT option FROM table
IF option = TRUE return "Yes" else return "No"
In other words, would it be possible to issue a select statement that returns Yes'es and No's, instead of 0 and 1's?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top