I have a query with a column received and the value 2014-02-13 19:34:00. I fetch the date alone using DATE(received) and value is 2014-02-13
In MySQL I use the following query:
SELECT DATE(received) AS Mydate, status
FROM Notification
WHERE project = 'proj001'
GROUP BY Mydate
ORDER BY received;
How to generate same value in SQL Server?