1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select cast(cast(date2 as date) as datetime) + cast(date1 as time) 
from (select getdate() date2, cast('2012-01-01 20:00' as datetime) date1) a

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results