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) » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (P-Z)

 

TODAY function [Date and time]

Returns the current date.

Syntax
TODAY( * )
Returns

DATE

Remarks

Use this syntax in place of the historical CURRENT DATE function.

Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statements return the current day according to the system clock.

SELECT TODAY( * );
SELECT CURRENT DATE;