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.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
From: "Graeme Muirhead" <csi@muirhead.freeuk.com>
>
>Is it possible to have conditional statements in an SQL query? For example,
>if the value in column A is "C" multiply the value in column B by 1, if the
>value of column A is "R" muliply the value in column B by -1, then sum the
>values in column B.
You mean like with the CASE statement? No. :-)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
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.