I\'m trying to add custom time to datetime in SQL Server 2008 R2.
Following is what I\'ve tried.
SELECT DATEADD(hh, 03, DATEADD(mi,
Or try an alternate method using Time datatype:
DECLARE @MyTime TIME = '03:30:00', @MyDay DATETIME = CAST(GETDATE() AS DATE) SELECT @MyDay+@MyTime