Contents Index GET_IDENTITY function [Miscellaneous] GRAPHICAL_PLAN function [Miscellaneous]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

GETDATE function [Date and time]


Function 

Returns the current year, month, day, hour, minute, second and fraction of a second. The fraction of a second. 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.

Syntax 

GETDATE ()

Standards and compatibility 
See also 

NOW function [Date and time]

CURRENT TIMESTAMP special value

Example 

The following statement returns the system date and time.

SELECT GETDATE( )

Contents Index GET_IDENTITY function [Miscellaneous] GRAPHICAL_PLAN function [Miscellaneous]