Guest_imported
New member
- Jan 1, 1970
- 0
I found this SQL for SQL 7 and was looking for something similar in Oracle. I looked in the reference manuals and didn't come up with anything. I wanted to know if you knew of anything similar to it in Oracle. It basically conditionally sets a value based upon the value of another.
SELECT Flag = CASE WHEN ID =0 THEN 1 ELSE 0 END, id
FROM TableX
WHERE 0=0
SELECT Flag = CASE WHEN ID =0 THEN 1 ELSE 0 END, id
FROM TableX
WHERE 0=0