Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> field alias for case function

field alias for case function

From: sy <sychen_at_vidmon.com>
Date: 1 May 2003 11:17:16 -0700
Message-ID: <44dec6fa.0305011017.5f6efbc@posting.google.com>


Hi,

How do I give a field alias for the following sql statement:

select case id when 1 then 9 else id end case from temp_t1;

I would to give a field name for the output.

Thanks
sy Received on Thu May 01 2003 - 13:17:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US