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: to_char not returning 'day' value without leading zero

Re: to_char not returning 'day' value without leading zero

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Thu, 6 Apr 2006 22:42:22 GMT
Message-ID: <IxBoEu.Lr7@igsrsparc2.er.usgs.gov>


Try removing the second "FM" format mask as follows:

SQL> select to_char(sysdate,'FMMM/DD') from dual;

TO_CH



4/6

HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Apr 06 2006 - 17:42:22 CDT

Original text of this message

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