Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Current Date under Oracle
Dirk Poppke wrote:
>
> Hello!
>
> Stupid question:
>
> 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?
>
> Thanks,
> Dirk
CURRENT_DATE is for PL/SQL, use SYSDATE for SQL.
HTH
--
"Some days you're the pigeon, and some days you're the statue." Received on Thu Feb 03 2000 - 06:11:38 CST
![]() |
![]() |