Caché SQL Reference
Static Version
CURRENT_DATE
A general SQL date/time function that returns the current date.
Synopsis
CURRENT_DATE
Description
CURRENT_DATE takes no arguments and returns the date as type DATE. CURRENT_DATE can be used as a
default specification
.
Example
This example shows how CURRENT_DATE can be used in a SELECT statement to return all records of employees who have a birthday today:
SELECT * FROM Employees WHERE dob = CURRENT_DATE
See Also
CURDATE
CURRENT_TIME
CURRENT_TIMESTAMP
CURTIME
NOW
Copyright
© 1997-2003, InterSystems Corp.
Last updated:
2003-02-02 15:16:03
Source:
RSQL_currentdate.xml