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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

GET_IDENTITY function [Miscellaneous] Next Page

GETDATE function [Date and time]


Returns the current year, month, day, hour, minute, second and fraction of a second.

Syntax

GETDATE( )

Remarks

The accuracy is limited by the accuracy of the system clock.

The information the GETDATE function returns is equivalent to the information returned by the NOW function and the CURRENT TIMESTAMP special value.

See also
Standards and compatibility
Example

The following statement returns the system date and time.

SELECT GETDATE( );