FIX: ODBC error when you use scalar functions to insert timestamp with fractional value (259287)
The information in this article applies to:
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.1 (GA)
- Microsoft Data Access Components 2.1 SP1
- Microsoft Data Access Components 2.1 SP2
- Microsoft Data Access Components 2.5
This article was previously published under Q259287 SYMPTOMS
When you use ODBC scalar functions with the Microsoft Jet 4.0 OLE DB provider to insert a timestamp that contains a fractional (millisecond) value, the Jet ODBC driver (Odbcjt32.dll) may return the following error message:
Return: SQL_ERROR=-1
[Microsoft][ODBC Microsoft Access Driver] Reserved error (|); there is no message for this error.
Note The Jet 3.51 ODBC driver allows the statement to succeed, and returns SQL_SUCCESS_WITH_INFO and a "Data truncated (timestamp)" message.
CAUSE
The Jet OLE DB driver does not support storage of millisecond values.
RESOLUTION
To resolve this problem, install the latest Microsoft Jet 4.0 service pack.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
239114
How to obtain the latest service pack for the Microsoft Jet 4.0 Database Engine
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was fixed in Jet 4.0 Service Pack 6 (SP6).
Modification Type: | Minor | Last Reviewed: | 7/31/2006 |
---|
Keywords: | kbHotfixServer kbbug kbfix kbJET kbMDAC210SP2fix kbMDAC250fix kbQFE KB259287 |
---|
|