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 -> Re: how to delete leading zero from date

Re: how to delete leading zero from date

From: Jarek Palka <jarek_at_kamsoft.com.pl>
Date: Tue, 26 Jun 2001 11:25:41 +0200
Message-ID: <3B385515.5A0F4EB4@kamsoft.com.pl>

rmartes wrote:
>
> I want to delete leading zero from date after converting into to_char
> format. etc. 06/25/2001 to 6/25/2001.
>
> thanks

Try this:
select to_char(sysdate,'fmMM/DD/RRRR') from dual 6/26/2001

-- 
____________________________________________________________
Jaroslaw Palka <jarek_at_kamsoft.com.pl> P.I.KAMSOFT, Katowice
tel. (+48 32) 209-07-05, fax 209-07-15    POLAND
Received on Tue Jun 26 2001 - 04:25:41 CDT

Original text of this message

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