Answers for "add date to time in sql"

SQL
7

insert date sql

INSERT INTO FOO (xpto) VALUES(TO_DATE('17/12/2015', 'DD/MM/YYYY'));
Posted by: Guest on June-29-2020
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