Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server add time to date

DECLARE @date DATETIME
SET @date='2010-10-01'
SET @date=@date+'15:00:00'
SELECT @date AS DATETIME
 
PREVIOUS NEXT
Tagged: #sql #server #add #time #date
ADD COMMENT
Topic
Name
6+5 =