How do I select the date from a table in SQL Server?
I want:
select *
from TABLE
where TICKET_DATE between 01/01/2016 and 12/31/2016.
In Oracle it is easy using to_date, how do I do it in SQL Server? Below is how the date column is formatted. I do not care about time.
2016-07-14 20:04:50.000
2016-07-29 09:49:05.000
2016-07-18 21:22:51.000
2016-07-03 07:56:15.000