Subject | Re: [firebird-support] How to substitute field value |
---|---|
Author | Gary Benade |
Post date | 2005-03-23T16:40:48Z |
> So I want to change 1->a, 2->b ...If you are using firebird 1.5 you can use CASE
> How to do it?
eg.
SELECT
case
when row = 1 then 'a'
when row = 2 then 'b'
else 'c'
end as letter
from table
HTH
Gary