Вы можете добавить три часа к текущему SMALLDATETIME
или создать новый, объединив желаемые части:
DECLARE @dt1 SMALLDATETIME = '2020-07-30 10:00:00'
DECLARE @t1 TIME = '13:00:00'
SELECT
@dt1 AS "source",
DATEADD(HOUR, 3, @dt1) AS "three hours added", -- just add three hours
CONVERT(SMALLDATETIME, -- concatenate the desired parts and convert
DATETIMEFROMPARTS(DATEPART(YEAR, @dt1),
DATEPART(MONTH, @dt1),
DATEPART(DAY, @dt1),
DATEPART(HOUR, @t1),
DATEPART(MINUTE, @t1),
DATEPART(SECOND, @t1),
0)
) AS "concatenated parts"
Результаты:
source |three hours added |concatenated parts
----------------------------------------------------------------
2020-07-30 10:00:00 |2020-07-30 13:00:00 |2020-07-30 13:00:00