select CURRENT_TIMESTAMP : CURRENT_TIMESTAMP « Date Functions « SQL Server / T-SQL Tutorial






10> SELECT CURRENT_TIMESTAMP, USER, SYSTEM_USER, CURRENT_USER,
11> SESSION_USER
12> GO



----------------------- -------------------------------------------------------------------------------------------------------------------------------- -----------------------------------------------
--------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------
---------- --------------------------------------------------------------------------------------------------------------------------------
2008-08-17 13:20:57.503 dbo                                                                                                                              J\Administrator
                                                                                  dbo
           dbo

(1 rows affected)








10.1.CURRENT_TIMESTAMP
10.1.1.select CURRENT_TIMESTAMP
10.1.2.SELECT @today = current_timestamp
10.1.3.CHECK (entered_date >= CURRENT_TIMESTAMP)
10.1.4.datetime DEFAULT CURRENT_TIMESTAMP