Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error message when you use OLE DB Provider for DB2 to import DB2 TIMESTAMP data into SQL Server by using SSIS: "The fractional part of the provided time value overflows the scale of the corresponding SQL Server parameter or column."


View products that this article applies to.

Symptoms

Consider the following scenario in Host Integration Server 2009:
  • You use Microsoft OLE DB Provider for DB2 or Microsoft OLE DB Provider for DB2 2.0.
  • You import DB2 data of the TIMESTAMP data type into Microsoft SQL Server by using SQL Server Integration Services (SSIS) or by using the SQL Server Import and Export Wizard.
In this scenario, the import operation fails. Then, you receive error messages that resemble the following:
[Destination Destination Name] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "The fractional part of the provided time value overflows the scale of the corresponding SQL Server parameter or column. Increase bScale in DBPARAMBINDINFO or column scale to correct this error." [Destination - Destination Name] Error: There was an error with input column "column name" (57) on input "Destination Input" (44). The column status returned was: "Conversion failed because the data value overflowed the specified type." [Destination - Destination Name] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "Destination Input" (44)" failed because error code 0xC020907A occurred, and the error row disposition on "input "Destination Input" (44)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.

↑ Back to the top


Cause

This issue occurs because OLE DB Provider for DB2 returns an incorrect value for the DBTYPE_DBTIMESTAMP precision. This incorrect value is contained in the DATETIME_REVISION field of the OLE DB COLUMN rowset. For example, the OLE DB Provider for DB2 returns a precision of 0 or 6.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

If you use Microsoft OLE DB Provider for DB2, you must have Host Integration Server 2009 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
32-bit version of Microsoft OLE DB Provider for DB2 2.0
File nameFile versionFile sizeDateTimePlatform
db2oledb.dll7.0.3192.2571,21621-Dec-200915:20x86
microsoft.hostintegration.dataaccesslibrary.dll7.0.3192.22,426,77621-Dec-200915:20x86
msdrda.dll7.0.3192.2841,55221-Dec-200915:20x86
64-bit version of Microsoft OLE DB Provider for DB2 2.0
File nameFile versionFile sizeDateTimePlatform
db2oledb.dll7.0.3192.2806,73621-Dec-200915:40x64
microsoft.hostintegration.dataaccesslibrary.dll7.0.3192.22,426,77621-Dec-200915:40x86
msdrda.dll7.0.3192.21,428,81621-Dec-200915:40x64
IA-64-bit version of Microsoft OLE DB Provider for DB2 2.0
File nameFile versionFile sizeDateTimePlatform
db2oledb.dll7.0.3192.21,608,01621-Dec-200915:40IA-64
microsoft.hostintegration.dataaccesslibrary.dll7.0.3192.22,426,77621-Dec-200915:40x86
msdrda.dll7.0.3192.22,243,92021-Dec-200915:40IA-64
32-bit versions of Host Integration Server 2009
File nameFile versionFile sizeDateTimePlatformSP requirement
Db2oledb.dll8.0.3751.2539,98430-Dec-200922:19x86SP1
Drdaresync.exe8.0.3751.2470,87230-Dec-200922:19x86SP1
Microsoft.hostintegration.adapters.msdb2.runtime.dll8.0.3751.279,78430-Dec-200922:19x86SP1
Microsoft.hostintegration.msdb2client.dll8.0.3751.2235,40830-Dec-200922:19x86SP1
Msdrda.dll8.0.3751.2869,71230-Dec-200922:19x86SP1
Snanls.dll8.0.3751.2109,39230-Dec-200922:19x86SP1
64-bit versions of Host Integration Server 2009
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Db2oledb.dll8.0.3751.2763,21630-Dec-200922:21x64SP1Not Applicable
Drdaresync.exe8.0.3751.2664,40830-Dec-200922:21x64SP1Not Applicable
Microsoft.hostintegration.adapters.msdb2.runtime.dll8.0.3751.279,78430-Dec-200922:19x86SP1Not Applicable
Microsoft.hostintegration.msdb2client.dll8.0.3751.2235,40830-Dec-200922:19x86SP1Not Applicable
Msdrda.dll8.0.3751.21,500,49630-Dec-200922:21x64SP1Not Applicable
Snanls.dll8.0.3751.2128,33630-Dec-200922:21x64SP1Not Applicable
Db2oledb.dll8.0.3751.2539,98430-Dec-200922:19x86NoneSYSWOW
Msdrda.dll8.0.3751.2869,71230-Dec-200922:19x86NoneSYSWOW
Snanls.dll8.0.3751.2109,39230-Dec-200922:19x86NoneSYSWOW

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbexpertiseinter, kbautohotfix, kbsurveynew, kbqfe, kbhotfixserver, kb

↑ Back to the top

Article Info
Article ID : 978843
Revision : 1
Created on : 1/7/2017
Published on : 10/7/2011
Exists online : False
Views : 527