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: INSERT INTO using Date format 19981030

Re: INSERT INTO using Date format 19981030

From: Gene Plagge <gplagge_at_hotmail.com>
Date: Fri, 30 Oct 1998 14:01:05 -1000
Message-ID: <F42CB9DBDC42D211B39F00AA00AF328201C5C9AF@Keiki.Hpu.Edu>


Jeff,

Use the to_date function with the correct date mask:

insert into my_table values(
to_date('19981030','YYYYMMDD') );

Jeff Howey wrote in message ...
>I want to just insert the date format I receive from a program without
>having to format it into Oracle's 31-OCT-98 format. Can I do that? And if
>so, what is the SQL that you used???/ Thanks!
>
Received on Fri Oct 30 1998 - 18:01:05 CST

Original text of this message

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