Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL elements » Special values in UltraLite

 

CURRENT DATE special value

Returns the current year, month, and day.

Data type

DATE

Remarks

The returned date is based on a reading of the system clock when the SQL statement is executed by the UltraLite runtime. If you use CURRENT DATE with any of the following, all values are based on separate clock readings:

  • CURRENT DATE multiple times within the same statement

  • CURRENT DATE with CURRENT TIME or CURRENT TIMESTAMP within a single statement

  • CURRENT DATE with the NOW function or GETDATE function within a single statement

See also