Skip to Main Content

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, Duke.

Asked: October 29, 2009 - 1:12 pm UTC

Last updated: October 29, 2009 - 1:27 pm UTC

Version: 10.2.0.4.0

Viewed 1000+ times

You Asked

What is the DATE function? I found Rob van Wijk's SQL here
http://rwijk.blogspot.com/2007/10/sql-model-clause-tutorial-part-two.html

I can see it "works" (below), but does DATE have any parameters or is it influenced by NLS_DATE_FORMAT, or what?

SQL> select  date '2005-03-01' from dual;

DATE'2005-03-01'
-------------------
2005-03-01 00:00:00


DATE is such a non-unique key word that it's difficult to find in the documentation -- much like the TABLE() function!

Thanks!

and Tom said...

Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Great!

Duke Ganote, October 29, 2009 - 1:41 pm UTC

I'd've never found that!