Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi,
we have to use following sql-statement:
select auftrnr,
case when auftrnr = 3000147 then 1 else 0 end as test
from auftrag where auftrnr = 3000147 or auftrnr = 3000148
This works with SCO Vision ODBC driver.
With Informix ODBC-Driver 3.3x we get the error message:
Informix ODBC Driver: General error. Syntax error.
Is there somebody who can say if it is possible to use
"case" in select-statements with the Informix ODBC driver.
TIA
Reinhard
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.