Home Forums SQL Server 2008 SQL Server 2008 - General How to order by month which is varchar field according to date format? RE: How to order by month which is varchar field according to date format?
spaghettidba
SSC Guru
Points: 105732
More actions
August 7, 2012 at 7:59 am
#1522615
You can order by the datetime column, even if you don't include it in the select list.
-- Gianluca Sartori