Answers for "add datetime sql"

SQL
1

datetime add 2 hours sql

DATEADD(HOUR, 2, GETUTCDATE())
Posted by: Guest on March-19-2020
1

add time to date sql

ADDTIME(NOW(),'5:30:00')
Posted by: Guest on June-04-2021
0

sql server add time to date

DECLARE @date DATETIME
SET @date='2010-10-01'
SET @date=@date+'15:00:00'
SELECT @date AS DATETIME
Posted by: Guest on May-18-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language