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: date format conversion

Re: date format conversion

From: Duncan Hodson <jernau_at_tronze.demon.co.uk>
Date: Mon, 29 Nov 1999 19:40:17 GMT
Message-ID: <BEA04.80$AD5.2848@nnrp4.clara.net>


Lo

Translate the spaces into 0 characters using...

SELECT to_date(translate('98 610',' ','0'),'YYMMDD') from dual;

You can add the translate command to your control file to sort out the loader problem.

Cheers

Duncan

> SQL> SELECT to_date('98 610','YYMMDD') from dual;
> ERROR:
> ORA-01843: not a valid month
Received on Mon Nov 29 1999 - 13:40:17 CST

Original text of this message

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