July 16, 2014

Current Time - SQL Server

You can get the current datetime from SQL Server in three different ways:

1) SELECT CURRENT_TIMESTAMP

2) SELECT {FN NOW()}

3) SELECT GETDATE()

No comments: