"Mahefa Randimbisoa\\DS-ETU" <[EMAIL PROTECTED]> wrote:
> You should know the meaning of next SQL statements :
>
> SELECT DECODE(field_name, '0', 'Sunday', '1', 'Monday', '2', 'Tuesday')
> FROM table_name
>
> (This should mean : if field_name = '0', return 'Sunday', if field_name =
> '1', returns
Hi!
You should know the meaning of next SQL statements :
SELECT DECODE(field_name, '0', 'Sunday', '1', 'Monday', '2', 'Tuesday')
FROM table_name
(This should mean : if field_name = '0', return 'Sunday', if field_name =
'1', returns 'Monday', ...)
I try to use this with mysql (in EasyPHP: Apache