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 -> Oracle date format

Oracle date format

From: Bill Li <bill_at_tadi.com>
Date: Thu, 4 Nov 2004 12:04:49 -0600
Message-ID: <cmdr02$pdk$1@news.sap-ag.de>


Hi all,
I am trying to insert date/time value into a column with datatype date. During this insertion, I cannot use to_date or any other Oracle functions.

When I use the string, '01-jan-2004', the value is inserted okay. However, when I included the time, e.g. '01-jan-2004 01:01:01', I get the error ORA-01830 (date format picture ends before converting entire input string).

Does anyone know what is the native string value I can use to when insert into a date datatype?

Thanks,
Bill Received on Thu Nov 04 2004 - 12:04:49 CST

Original text of this message

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