Hi, in the following mysql select statement i use an if construct to get a sign changed in the recordset.
SELECT a.fieldone, a.fieldtwo, if(a.fieldone="x",a.fieldthree,-a.fieldthree) as myfield FROM mytable a
I would like to have the same result on an informix db. Is it possible? If so, what is the If syntax?
Many thanks in advance.
//andrea