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: Date questions

Re: Date questions

From: James Petts <jpetts_at_celltech.co.uk>
Date: 1998/01/20
Message-ID: <34C474C8.6F9A@celltech.co.uk>#1/1

Laura Bellini wrote:
> Can someone tell me how to just get the day of the week out of a date in
> Oracle?

SELECT TO_CHAR(date_column,'DAY') FROM TABLE;

If you use the mask 'DAY' you will get the day name in all UPPER CASE, 'Day' will get you Capitalised, 'day' will get you all lower case.

-- 
James "I'd rather fall off Ilustrada than ride any other horse" Petts
Received on Tue Jan 20 1998 - 00:00:00 CST

Original text of this message

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