I have a SQL Server table that has a datetime
column. What I need to do with a SELECT
statement is return (I think) a calculated column that takes the time from the datetime
column and puts it together with the current date.
So in the table I may have...
[TargetPlot].[TargetDate]
2015-12-09 10:15:00
2015-12-09 10:30:00
2015-12-09 10:45:00
2015-12-09 11:00:00
2015-12-09 11:15:00
But what I need the SELECT
statement to return is (assuming the current date is December 11th)...
[SomeCalculatedField]
2015-12-11 10:15:00
2015-12-11 10:30:00
2015-12-11 10:45:00
2015-12-11 11:00:00
2015-12-11 11:15:00
Thanks for any advice.
Andy