[thelist] can i merge columns in an Oracle query?

Luther, Ron Ron.Luther at hp.com
Fri Mar 12 11:00:12 CST 2010


Jeremy Weiss asked about the Oracle NVL command.

>>The department will always be STEPSDEPARTMENT unless it's null, then it's SQUAWKSDEPARTMENT.

Select NVL(STEPSDEPARTMENT,SQUAWKSDEPARTMENT) as JW_Dept from ...

HTH,
RonL.

(These can also be nested.)



More information about the thelist mailing list