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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Decode

RE: Decode

From: <cbeckley_at_thirdparadigm.com>
Date: Thu, 12 Sep 2002 12:33:25 -0800
Message-ID: <F001.004CF027.20020912123325@fatcity.com>


Well, if we're going to be picky :)

select chr(84)||chr(104)||chr(97)

         ||chr(110)||chr(107)||chr(32)
         ||chr(71)||chr(111)||chr(100)
         ||chr(101)||chr(115)||chr(115)
         ||chr(33)
         from dual

>
> Jared, didn't you mean:
>
> select
> chr(84)||chr(104)||chr(97)
> ||chr(110)||chr(107)||chr(32)
> ||chr(71)||chr(111)||chr(100)
> ||chr(33)
> from dual
>
> Just being picky... :D
>
> Rich Jesse System/Database Administrator
> Rich.Jesse_at_qtiworld.com Quad/Tech International, Sussex, WI USA
>
>
> &gt; -----Original Message-----
> &gt; From: Jared Still [mailto:jkstill_at_cybcon.com]
> &gt; Sent: Wednesday, September 11, 2002 7:33 PM
> &gt; To: Multiple recipients of list ORACLE-L
> &gt; Subject: Re: Decode
> &gt;
> &gt;
> &gt;
> &gt; No, I didn't know that.
> &gt;
> &gt; Interesting:
> &gt;
> &gt; select decode (
> &gt; (select to_char(sysdate, 'DAY') from dual),
> &gt; 'MONDAY','Groan...',
> &gt; 'TUESDAY','Another day, another dollar',
> &gt; 'WEDNESDAY','Hump Day',
> &gt; 'THURSDAY','Let me out of here!',
> &gt; 'FRIDAY',(
> &gt; select
> &gt; chr(84)||chr(104)||chr(97)
> &gt; ||chr(110)||chr(107)||chr(32)
> &gt; ||chr(103)||chr(111)||chr(100)
> &gt; ||chr(33)
> &gt; from dual
> &gt; ),
> &gt; 'SATURDAY','Sleeping in',
> &gt; 'SUNDAY','Gone fishing'
> &gt; )
> &gt; from dual
> &gt; /
> --
> Please see the official ORACLE-L FAQ: <a
href="http://mail.thirdparadigm.com//jump/http://www.orafaq.com">http://www.orafaq.com</a>
> --
> Author: Jesse, Rich
> INET: Rich.Jesse_at_qtiworld.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

Christopher Beckley
ThirdParadigm LLC
cbeckley_at_thirdparadigm.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: cbeckley_at_thirdparadigm.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Sep 12 2002 - 15:33:25 CDT

Original text of this message

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