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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Simple Data warehouse question (cursor)

Re: Simple Data warehouse question (cursor)

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Sun, 25 Apr 2004 16:04:33 -0700
Message-ID: <1082934267.47754@yasure>


James wrote:

>>But to answer your question ... look at the options available
>>with TO_CHAR at http://tahiti.oracle.com.
>>--

>
> After looking at the documentation I don't see how any of to_char's options
> could help me with this problem.
SELECT TO_CHAR(SYSDATE, 'MM') FROM dual;
SELECT TO_CHAR(SYSDATE, 'MON') FROM dual;
SELECT TO_CHAR(SYSDATE, 'D') FROM dual;
SELECT TO_CHAR(SYSDATE, 'DD') FROM dual;
SELECT TO_CHAR(SYSDATE, 'DAY') FROM dual;

Try harder. ;-)

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Sun Apr 25 2004 - 18:04:33 CDT

Original text of this message

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