Solved

SQL 2008 date data type ODBC link to Access 2007 changes to text data type

Posted on 2010-08-23
4
469 Views
Last Modified: 2012-06-21
I have a SQL 2008 table that has a date data type.  When connection to Access 2007 via ODBC connection, Access thinks the data type is text.  Is there a patch or fix for this problem?
Thanks for your help.
0
Comment
Question by:CRI906
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
grogman earned 500 total points
ID: 33501887
From what I have seen, Access 2007 doesn't recognize SQL 2008's DATE data type. One option that should work is to change your SQL column's data type to SMALLDATETIME, which Access 2007 should have no problem recognizing.
0
 

Author Comment

by:CRI906
ID: 33502074
We do not want the "time" part of the SMALLDATETIME data field.  Do you know if there is a patch or hot fix for this problem?
0
 

Author Comment

by:CRI906
ID: 33502248
Found a solution for this problem.  My ODBC connection was using SQL Server driver.  I deleted the ODBC Connection and setup a new connection using SQL Server Native Client 10.0.  Deleted the linked tables and re-linked.  Now the Access knows the new data type "DATE" is a date.  Thanks for your help.
0
 

Author Closing Comment

by:CRI906
ID: 33502309
This solution would be good if you don't mind adding the time to the date.  My solution worked best for what we needed.  Thanks for the help.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exchange 2016 Databse move 5 54
powershell code to list items in dropdown 6 57
export sql results to csv 6 34
SQL Server 2012 r2 - Sum totals 2 22
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question