Solved

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

Posted on 2010-08-23
4
460 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now