Thursday, 8 August 2013

MySql display int as value

MySql display int as value

i'd like to store into a mailbox table the folder, the message should be
inside as an int. Like 0 is inbox, 1 is outbox, ...
Is there a way to make the result of the query give me back a result like
'INBOX' for the stored value of 0?
Greetings

No comments:

Post a Comment