2012/02/08

MSSQL get current datetime

SELECT CURRENT_TIMESTAMP
or
SELECT {fn NOW()}
or
SELECT GETDATE()

No comments:

Post a Comment