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: Current Date under Oracle

Re: Current Date under Oracle

From: Nicolas Bronke <newsgroup_at_trinity.de>
Date: Thu, 3 Feb 2000 16:56:51 +0100
Message-ID: <3899aaf3_4@news2.prserv.net>


> The standard SQL - Statement won't work under Oracle:
>
> create table test (testdate date);
> insert into test values (CURRENT_DATE);
>
> How can I get the current Date (and Time) and put it
> into a table?
>

With your syntax never

try that

insert into test (testdate) values (SYSDATE);

--
Regards
Nicolas Bronke Received on Thu Feb 03 2000 - 09:56:51 CST

Original text of this message

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