前回は、SQL ServerのTransact-SQL(T-SQL)で、文字列を操作する関数について紹介しました。本編では、日付と数値を操作する関数について紹介していきます。 日付時刻に関する関数 それでは、日付時刻の妥当性をチェックしたり、現在時刻を取得する関数からみて ...
Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is ...
SYSDATETIME and SYSUTCDATETIME have more fractional seconds precision than GETDATE and GETUTCDATE. SYSDATETIMEOFFSET includes the system time zone offset. SYSDATETIME, SYSUTCDATETIME, and ...