I am trying to run a query sorted by date on a table where the date column was set up Varchar 8 but my problem is someone put some dates in the UK way (dd/mm/yyyy) while the rest of the dates are US (mm/dd/yyyy) so now when I try to sort by date it can't.
Does anyone know how I could built a case statment to tell it if Date is UK to convert to US else .....
I can not figure out how to do this and any help would be greatly appreciated.
Thanks in advance
Does anyone know how I could built a case statment to tell it if Date is UK to convert to US else .....
I can not figure out how to do this and any help would be greatly appreciated.
Thanks in advance