Article ID: 883716 - Last Review: March 14, 2007 - Revision: 1.5 FIX: The bcp utility does not import DBCS data from a text file that is larger than 32 MBOn This PageSYMPTOMSThe bulk copy program (bcp) command prompt utility may not be able to import data from a
text file when all the following conditions are true:
RESOLUTION To resolve this problem, obtain the latest service
pack for Microsoft Windows XP. For additional information, click the following
article number to view the article in the Microsoft Knowledge Base: 322389
(http://support.microsoft.com/kb/322389/
)
How to obtain the latest Windows XP service pack
To resolve this problem, you may also obtain the
hotfix that is mentioned in the following Microsoft Knowledge Base
article:837311
(http://support.microsoft.com/kb/837311/
)
FIX: You cannot import data from a text file that is greater than 32 MB by using the BCP utility
Note You can use this hotfix file to resolve this problem even if the
problem occurs on a computer that is not running Microsoft Windows
XP.WORKAROUNDTo work around this problem, use the BULK INSERT
Transact-SQL statement to import data from a text file that is larger than 32
MB to a table. To do this, follow these steps:
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONSteps to reproduce the problemNote To reproduce the behavior, you must add the Japanese language locale by using Regional and Language Options in Control Panel. You must then create a database table in an instance of Microsoft SQL Server, and then you must use the bcp utility to import a text file.For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 177561
(http://support.microsoft.com/kb/177561/
)
How to add and enable additional languages in Windows
REFERENCES For additional information, click the
following article number to view the article in the Microsoft Knowledge Base: 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
For more information, visit the following Microsoft
Developer Network (MSDN) Web sites:bcp Utility http://msdn2.microsoft.com/en-us/library/aa174646(SQL.80).aspx (http://msdn2.microsoft.com/en-us/library/aa174646(SQL.80).aspx) BULK INSERT http://msdn2.microsoft.com/en-us/library/aa225968(SQL.80).aspx (http://msdn2.microsoft.com/en-us/library/aa225968(SQL.80).aspx) Collations http://msdn2.microsoft.com/en-us/library/aa214408(SQL.80).aspx (http://msdn2.microsoft.com/en-us/library/aa214408(SQL.80).aspx) | Article Translations
|
Back to the top
