I\'d like to get 4:30 PM of the current day. Hard-coding this way doesn\'t work:
SELECT \'07242012 16:30:00.000\'
This is proving to be mor
select(dateadd(day, datediff(day, 0, getdate()), 0) + '20:00') as specified_date
specified_date - Output Column name 20:00 - Specified time(24 hr Format -Default) getdate() - To get Today's date.
specified_date - Output Column name
20:00 - Specified time(24 hr Format -Default)
getdate() - To get Today's date.