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."

Article translations Article translations
Article ID: 978843 - View products that this article applies to.
Expand all | Collapse all

On This Page

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.

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.

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:
http://support.microsoft.com/contactus/?ws=support
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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

STATUS

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

Properties

Article ID: 978843 - Last Review: October 7, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft OLE DB Provider for DB2 2.0
  • Microsoft Host Integration Server 2009
Keywords: 
kbexpertiseinter kbautohotfix kbsurveynew kbqfe KB978843

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com