I am migrating data from Access to SQL Server 2008 and keeping for now the Access frontend. I'm finding that dates in the Access frontend are now showing as YYYY/MM/DD rather than the reverse. I'm assuming its because the SQK Server backend is english language and the dates are stored that way. Anyway, is there any way to change this on the SQL backend without changing the Access frontend ? CSB
Another option would be to use [CONVERT] in the select statement/view that is accessing the data: SELECT GETDATE(), -- 2011-02-08 08:55:36.803 CONVERT(varchar(100), GETDATE(), 101),-- 02/08/2011 CONVERT(varchar(100), GETDATE(), 102),-- 2011.02.08 CONVERT(varchar(100), GETDATE(), 103),-- 08/02/2011 CONVERT(varchar(100), GETDATE(), 0) -- Feb 8 2011 8:55AM :
Actually the best answer to this question is that when using the SSMA Migration aid (as I am doing and failed to mention above) you need to specify DateTime for Access Date field conversions in the data mapping section. If you use date or datetime2 or any other data mapping the date fields come over to sql as dates but appear to Access as text. That's why they are formatted YYYY/MM/DD rather than the reverse as they were in Access frontend and backend. They are not only backwards but can't be used in date calculations as well. SSMA is a great migration tool but there are some differences to note on the default field type mappings.