deepatpaul
Programmer
I have a query that sorts results with various fields being used in the ORDER BY clause, and the last one of four is the date field. However, the dates are being stored in varchar fields (SQL Server), and I fear that CF is not outputting the dates properly since it's sorting by checking the values of the date from left-to-right, as opposed to looking at the actual date segments.
If this is the case, is there a way I can have CF look at the varchar-based dates and have them sorted based on the value of the date? Or do I have to convert the field to datetime type?
If this is the case, is there a way I can have CF look at the varchar-based dates and have them sorted based on the value of the date? Or do I have to convert the field to datetime type?