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

BUG #: 125788 (Content Maintenance)BUG #: 3530 (EBizSE)BUG #: 3535 (EBizSE)

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=supportNote 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 name

File version

File size

Date

Time

Platform

db2oledb.dll

7.0.3192.2

571,216

21-Dec-2009

15:20

x86

microsoft.hostintegration.dataaccesslibrary.dll

7.0.3192.2

2,426,776

21-Dec-2009

15:20

x86

msdrda.dll

7.0.3192.2

841,552

21-Dec-2009

15:20

x86

64-bit version of Microsoft OLE DB Provider for DB2 2.0

File name

File version

File size

Date

Time

Platform

db2oledb.dll

7.0.3192.2

806,736

21-Dec-2009

15:40

x64

microsoft.hostintegration.dataaccesslibrary.dll

7.0.3192.2

2,426,776

21-Dec-2009

15:40

x86

msdrda.dll

7.0.3192.2

1,428,816

21-Dec-2009

15:40

x64

IA-64-bit version of Microsoft OLE DB Provider for DB2 2.0

File name

File version

File size

Date

Time

Platform

db2oledb.dll

7.0.3192.2

1,608,016

21-Dec-2009

15:40

IA-64

microsoft.hostintegration.dataaccesslibrary.dll

7.0.3192.2

2,426,776

21-Dec-2009

15:40

x86

msdrda.dll

7.0.3192.2

2,243,920

21-Dec-2009

15:40

IA-64

32-bit versions of Host Integration Server 2009

File name

File version

File size

Date

Time

Platform

SP requirement

Db2oledb.dll

8.0.3751.2

539,984

30-Dec-2009

22:19

x86

SP1

Drdaresync.exe

8.0.3751.2

470,872

30-Dec-2009

22:19

x86

SP1

Microsoft.hostintegration.adapters.msdb2.runtime.dll

8.0.3751.2

79,784

30-Dec-2009

22:19

x86

SP1

Microsoft.hostintegration.msdb2client.dll

8.0.3751.2

235,408

30-Dec-2009

22:19

x86

SP1

Msdrda.dll

8.0.3751.2

869,712

30-Dec-2009

22:19

x86

SP1

Snanls.dll

8.0.3751.2

109,392

30-Dec-2009

22:19

x86

SP1

64-bit versions of Host Integration Server 2009

File name

File version

File size

Date

Time

Platform

SP requirement

Service branch

Db2oledb.dll

8.0.3751.2

763,216

30-Dec-2009

22:21

x64

SP1

Not Applicable

Drdaresync.exe

8.0.3751.2

664,408

30-Dec-2009

22:21

x64

SP1

Not Applicable

Microsoft.hostintegration.adapters.msdb2.runtime.dll

8.0.3751.2

79,784

30-Dec-2009

22:19

x86

SP1

Not Applicable

Microsoft.hostintegration.msdb2client.dll

8.0.3751.2

235,408

30-Dec-2009

22:19

x86

SP1

Not Applicable

Msdrda.dll

8.0.3751.2

1,500,496

30-Dec-2009

22:21

x64

SP1

Not Applicable

Snanls.dll

8.0.3751.2

128,336

30-Dec-2009

22:21

x64

SP1

Not Applicable

Db2oledb.dll

8.0.3751.2

539,984

30-Dec-2009

22:19

x86

None

SYSWOW

Msdrda.dll

8.0.3751.2

869,712

30-Dec-2009

22:19

x86

None

SYSWOW

Snanls.dll

8.0.3751.2

109,392

30-Dec-2009

22:19

x86

None

SYSWOW

Status

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×