FIX: The BULK INSERT statement may not return any errors when you try to import data from a text file to a table by using the BULK INSERT statement in Microsoft SQL Server 2005 (919775)
The information in this article applies to:
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Standard Edition
- SQL Server 2005 Standard Edition for Itanium-based Systems
Bug #: 819 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release. SUMMARYThis article describes the following about this hotfix
release:
- The issues that are fixed by this hotfix package
- The prerequisites for applying the hotfix
package
- Whether you must restart the computer after you apply the
hotfix package
- Whether the hotfix package is replaced by any other hotfix
package
- Whether you must make any registry changes after you apply the
hotfix package
- The files that are contained in the hotfix
package
SYMPTOMSWhen you try to import data from a text file to a table by using the BULK INSERT statement in Microsoft SQL Server 2005, the BULK INSERT statement may not report any errors. This problem occurs even if the length of the numeric data in the text file is larger than the length of numeric column in the table. This problem occurs when the following conditions are true: - The data file uses the text file format, not the native file format.
- The length of the data in the data file for the NUMERIC column is longer than the length of the definition for the NUMERIC column in the table.
Note In SQL Server 2000, this problem causes the 4867 error. RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft SQL Server 2005 service pack that contains this hotfix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. PrerequisitesYou must have SQL Server 2005 Service Pack 1 (SP1) installed on the computer before you apply this hotfix.
For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
913089
How to obtain the latest service pack for SQL Server 2005
Restart information You do not have to restart the computer after you apply this hotfix. Registry information You do not have change the registry.
Hotfix file informationThis hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
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. SQL Server 2005, x86 versions|
Autoadmin90.dll | 2005.90.2164.0 | 899,360 | 14-Jun-2006 | 20:07 | x86 | Dta.exe | 9.0.2164.0 | 117,536 | 14-Jun-2006 | 19:53 | x86 | Dts.dll | 2005.90.2164.0 | 1,099,040 | 14-Jun-2006 | 19:58 | x86 | Dtsinstall.exe | 9.0.2164.0 | 494,368 | 14-Jun-2006 | 19:57 | x86 | Dtspipeline.dll | 2005.90.2164.0 | 602,912 | 14-Jun-2006 | 19:56 | x86 | Dundaswebchart.dll | 9.0.2164.0 | 752,416 | 14-Jun-2006 | 20:02 | x86 | Dundaswinchart.dll | 9.0.2164.0 | 801,568 | 14-Jun-2006 | 20:02 | x86 | Microsoft.analysisservices.modeling.dll | 9.0.2164.0 | 564,000 | 14-Jun-2006 | 20:13 | x86 | Microsoft.datatransformationservices.vsintegration.dll | 9.0.2164.0 | 330,528 | 14-Jun-2006 | 19:57 | x86 | Microsoft.reportingservices.dataextensions.dll | 9.0.2164.0 | 154,400 | 14-Jun-2006 | 20:03 | x86 | Microsoft.reportingservices.diagnostics.dll | 9.0.2164.0 | 604,960 | 14-Jun-2006 | 20:02 | x86 | Microsoft.reportingservices.excelrendering.dll | 9.0.2164.0 | 330,528 | 14-Jun-2006 | 20:03 | x86 | Microsoft.reportingservices.processingcore.dll | 9.0.2164.0 | 1,669,920 | 14-Jun-2006 | 20:02 | x86 | Microsoft.reportingservices.reportpreview.dll | 9.0.2164.0 | 437,024 | 14-Jun-2006 | 20:03 | x86 | Microsoft.sqlserver.dtsruntimewrap.dll | 9.0.242.0 | 166,688 | 14-Jun-2006 | 19:47 | x86 | Microsoft.sqlserver.maintenanceplantasks.dll | 9.0.2164.0 | 256,800 | 14-Jun-2006 | 19:51 | x86 | Microsoft.sqlserver.maintenanceplantasksui.dll | 9.0.2164.0 | 645,920 | 14-Jun-2006 | 19:52 | x86 | Microsoft.sqlserver.management.maintenanceplanwizard.dll | 9.0.2164.0 | 555,808 | 14-Jun-2006 | 19:52 | x86 | Microsoft.sqlserver.management.ui.rsuserinterface.dll | 9.0.2164.0 | 1,223,456 | 14-Jun-2006 | 20:04 | x86 | Microsoft.sqlserver.mgdsqldumper.dll | 2005.90.2164.0 | 75,552 | 14-Jun-2006 | 20:05 | x86 | Microsoft.sqlserver.olapenum.dll | 9.0.2164.0 | 52,000 | 14-Jun-2006 | 19:48 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.2164.0 | 908,064 | 14-Jun-2006 | 19:48 | x86 | Microsoft.visualstudio.vspsqlenum.dll | 9.0.2164.0 | 875,296 | 14-Jun-2006 | 19:48 | x86 | Msadomdx.dll | 9.0.2164.0 | 502,560 | 14-Jun-2006 | 20:57 | x86 | Msdtssrvr.exe | 9.0.2164.0 | 203,552 | 14-Jun-2006 | 19:59 | x86 | Msgprox.dll | 2005.90.2164.0 | 197,920 | 14-Jun-2006 | 19:41 | x86 | Msmdlocal.dll | 9.0.2164.0 | 15,661,856 | 14-Jun-2006 | 20:56 | x86 | Msmdsrv.exe | 9.0.2164.0 | 14,634,784 | 14-Jun-2006 | 20:56 | x86 | Msmgdsrv.dll | 9.0.2164.0 | 5,948,192 | 14-Jun-2006 | 20:17 | x86 | Nsservice.exe | 9.0.2164.0 | 19,232 | 14-Jun-2006 | 19:32 | x86 | Pfclnt90.dll | 2005.90.2164.0 | 1,186,080 | 14-Jun-2006 | 19:54 | x86 | Replprov.dll | 2005.90.2164.0 | 547,616 | 14-Jun-2006 | 19:42 | x86 | Replrec.dll | 2005.90.2164.0 | 782,112 | 14-Jun-2006 | 19:38 | x86 | Reportbuilder.exe | 9.0.2164.0 | 5,389,088 | 14-Jun-2006 | 20:03 | x86 | Reportingserviceslibrary.dll | 9.0.2164.0 | 1,030,944 | 14-Jun-2006 | 20:03 | x86 | Reportingservicesservice.exe | 9.0.2164.0 | 14,624 | 14-Jun-2006 | 20:03 | x86 | Reportingserviceswebserver.dll | 9.0.2164.0 | 1,325,856 | 14-Jun-2006 | 20:03 | x86 | Reportingserviceswebuserinterface.dll | 9.0.2164.0 | 1,239,840 | 14-Jun-2006 | 20:03 | x86 | Sqlaccess.dll | 2005.90.2164.0 | 347,936 | 14-Jun-2006 | 20:07 | x86 | Sqlca.dll | 2005.90.2164.0 | 3,240,224 | 14-Jun-2006 | 19:52 | x86 | Sqlmanagerui.dll | 9.0.2164.0 | 6,077,216 | 14-Jun-2006 | 19:52 | x86 | Sqlncli.dll | 2005.90.2164.0 | 2,222,936 | 14-Jun-2006 | 22:04 | x86 | Sqlservr.exe | 2005.90.2164.0 | 28,950,872 | 15-Jun-2006 | 02:42 | x86 | Sqlsetup.exe | 2005.90.2164.0 | 2,088,736 | 14-Jun-2006 | 19:52 | x86 | Sqlspars.dll | 2005.90.2164.0 | 1,299,744 | 14-Jun-2006 | 19:52 | x86 | SQL Server 2005, x64 versions|
Dts.dll | 2005.90.2164.0 | 1,887,008 | 14-Jun-2006 | 19:59 | x64 | Dtspipeline.dll | 2005.90.2164.0 | 1,062,688 | 14-Jun-2006 | 19:56 | x64 | Dundaswebchart.dll | 9.0.2164.0 | 752,416 | 14-Jun-2006 | 19:35 | x86 | Dundaswinchart.dll | 9.0.2164.0 | 801,568 | 14-Jun-2006 | 19:35 | x86 | Microsoft.analysisservices.modeling.dll | 9.0.2164.0 | 564,000 | 14-Jun-2006 | 20:16 | x86 | Microsoft.reportingservices.dataextensions.dll | 9.0.2164.0 | 154,400 | 14-Jun-2006 | 19:35 | x86 | Microsoft.reportingservices.diagnostics.dll | 9.0.2164.0 | 604,960 | 14-Jun-2006 | 19:35 | x86 | Microsoft.reportingservices.excelrendering.dll | 9.0.2164.0 | 330,528 | 14-Jun-2006 | 19:36 | x86 | Microsoft.reportingservices.processingcore.dll | 9.0.2164.0 | 1,669,920 | 14-Jun-2006 | 19:35 | x86 | Microsoft.sqlserver.dtsruntimewrap.dll | 9.0.242.0 | 166,688 | 14-Jun-2006 | 19:44 | x64 | Microsoft.sqlserver.mgdsqldumper.dll | 2005.90.2164.0 | 91,424 | 14-Jun-2006 | 20:25 | x64 | Microsoft.sqlserver.olapenum.dll | 9.0.2164.0 | 52,000 | 14-Jun-2006 | 19:54 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.2164.0 | 875,296 | 14-Jun-2006 | 19:54 | x86 | Microsoft.visualstudio.vspsqlenum.dll | 9.0.2164.0 | 875,296 | 14-Jun-2006 | 19:54 | x86 | Msdtssrvr.exe | 9.0.2164.0 | 199,456 | 14-Jun-2006 | 19:58 | x64 | Msgprox.dll | 2005.90.2164.0 | 259,360 | 14-Jun-2006 | 19:45 | x64 | Msmdlocal.dll | 9.0.2164.0 | 30,228,256 | 15-Jun-2006 | 03:45 | x64 | Msmdsrv.exe | 9.0.2164.0 | 29,548,832 | 15-Jun-2006 | 03:45 | x64 | Msmgdsrv.dll | 9.0.2164.0 | 8,931,104 | 15-Jun-2006 | 02:33 | x64 | Nsservice.exe | 9.0.2164.0 | 19,232 | 14-Jun-2006 | 19:35 | x86 | Replprov.dll | 2005.90.2164.0 | 745,248 | 14-Jun-2006 | 19:45 | x64 | Replrec.dll | 2005.90.2164.0 | 1,008,416 | 14-Jun-2006 | 19:41 | x64 | Reportingserviceslibrary.dll | 9.0.2164.0 | 1,030,944 | 14-Jun-2006 | 19:36 | x86 | Reportingservicesservice.exe | 9.0.2164.0 | 14,624 | 14-Jun-2006 | 19:36 | x86 | Reportingserviceswebserver.dll | 9.0.2164.0 | 1,325,856 | 14-Jun-2006 | 19:36 | x86 | Reportingserviceswebuserinterface.dll | 9.0.2164.0 | 1,239,840 | 14-Jun-2006 | 19:36 | x86 | Sqlaccess.dll | 2005.90.2164.0 | 355,104 | 14-Jun-2006 | 20:25 | x86 | Sqlca.dll | 2005.90.2164.0 | 4,317,984 | 14-Jun-2006 | 20:41 | x64 | Sqlncli.dll | 2005.90.2164.0 | 2,854,744 | 14-Jun-2006 | 22:07 | x64 | Sqlservr.exe | 2005.90.2164.0 | 39,251,232 | 15-Jun-2006 | 01:20 | x64 | Sqlsetup.exe | 2005.90.2164.0 | 3,083,040 | 14-Jun-2006 | 20:41 | x64 | Sqlspars.dll | 2005.90.2164.0 | 1,755,424 | 14-Jun-2006 | 20:40 | x64 | SQL Server 2005 Itanium architecture versions|
Dts.dll | 2005.90.2164.0 | 3,504,416 | 15-Jun-2006 | 03:29 | IA-64 | Dtspipeline.dll | 2005.90.2164.0 | 1,930,016 | 15-Jun-2006 | 03:29 | IA-64 | Dundaswebchart.dll | 9.0.2164.0 | 752,416 | 15-Jun-2006 | 03:29 | x86 | Dundaswinchart.dll | 9.0.2164.0 | 801,568 | 15-Jun-2006 | 03:29 | x86 | Microsoft.analysisservices.modeling.dll | 9.0.2164.0 | 564,000 | 15-Jun-2006 | 03:28 | x86 | Microsoft.reportingservices.dataextensions.dll | 9.0.2164.0 | 154,400 | 15-Jun-2006 | 03:29 | x86 | Microsoft.reportingservices.diagnostics.dll | 9.0.2164.0 | 604,960 | 15-Jun-2006 | 03:28 | x86 | Microsoft.reportingservices.excelrendering.dll | 9.0.2164.0 | 330,528 | 15-Jun-2006 | 03:28 | x86 | Microsoft.reportingservices.processingcore.dll | 9.0.2164.0 | 1,669,920 | 15-Jun-2006 | 03:29 | x86 | Microsoft.sqlserver.dtsruntimewrap.dll | 9.0.242.0 | 166,688 | 15-Jun-2006 | 03:29 | IA-64 | Microsoft.sqlserver.mgdsqldumper.dll | 2005.90.2164.0 | 163,104 | 15-Jun-2006 | 03:29 | IA-64 | Microsoft.sqlserver.olapenum.dll | 9.0.2164.0 | 52,000 | 15-Jun-2006 | 03:28 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.2164.0 | 875,296 | 15-Jun-2006 | 03:29 | x86 | Microsoft.visualstudio.vspsqlenum.dll | 9.0.2164.0 | 875,296 | 15-Jun-2006 | 03:29 | x86 | Msdtssrvr.exe | 9.0.2164.0 | 199,456 | 15-Jun-2006 | 03:29 | IA-64 | Msgprox.dll | 2005.90.2164.0 | 542,496 | 15-Jun-2006 | 03:28 | IA-64 | Msmdlocal.dll | 9.0.2164.0 | 48,733,984 | 15-Jun-2006 | 03:30 | IA-64 | Msmdsrv.exe | 9.0.2164.0 | 47,685,408 | 15-Jun-2006 | 03:30 | IA-64 | Msmgdsrv.dll | 9.0.2164.0 | 12,870,432 | 15-Jun-2006 | 03:30 | IA-64 | Nsservice.exe | 9.0.2164.0 | 19,232 | 15-Jun-2006 | 03:28 | x86 | Replprov.dll | 2005.90.2164.0 | 1,617,184 | 15-Jun-2006 | 03:29 | IA-64 | Replrec.dll | 2005.90.2164.0 | 2,141,472 | 15-Jun-2006 | 03:29 | IA-64 | Reportingserviceslibrary.dll | 9.0.2164.0 | 1,030,944 | 15-Jun-2006 | 03:29 | x86 | Reportingservicesservice.exe | 9.0.2164.0 | 14,624 | 15-Jun-2006 | 03:28 | x86 | Reportingserviceswebserver.dll | 9.0.2164.0 | 1,325,856 | 15-Jun-2006 | 03:29 | x86 | Reportingserviceswebuserinterface.dll | 9.0.2164.0 | 1,239,840 | 15-Jun-2006 | 03:29 | x86 | Sqlaccess.dll | 2005.90.2164.0 | 349,472 | 15-Jun-2006 | 03:28 | x86 | Sqlca.dll | 2005.90.2164.0 | 10,680,096 | 15-Jun-2006 | 03:30 | IA-64 | Sqlncli.dll | 2005.90.2164.0 | 5,396,312 | 15-Jun-2006 | 03:29 | IA-64 | Sqlservr.exe | 2005.90.2164.0 | 72,208,672 | 15-Jun-2006 | 03:30 | IA-64 | Sqlsetup.exe | 2005.90.2164.0 | 8,159,520 | 15-Jun-2006 | 03:29 | IA-64 | Sqlspars.dll | 2005.90.2164.0 | 4,816,672 | 15-Jun-2006 | 03:29 | IA-64 |
WORKAROUNDTo work around this problem, use one of the following methods: - Use an error file by specifying the ERRORFILE parameter of the BULK INSERT statement, and then check if the error file contains rows after the BULK INSERT statement is finished.
- Set the MAXERROR parameter of the BULK INSERT statement to 0. The BULK INSERT statement ends when any errors occur.
- Use the native file format instead of the text file format for the import file.
- Use the Bcp.exe utility instead of the BULK INSERT statement.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 8/9/2006 |
---|
Keywords: | kbExpertiseAdvanced kbtshoot kbfix kbsql2005tsql kbQFE kbhotfixserver kbpubtypekc KB919775 kbAudDeveloper kbAudITPRO |
---|
|