BUG: BCP No Error If Last Line of Data File Is Incomplete

ID: Q164918


The information in this article applies to:
  • Microsoft SQL Server versions 6.0, 6.5

BUG #: 16565 (Windows NT: 6.5)

SYMPTOMS

Errors are not reported when using the Bulk Copy Program (BCP) to copy a data file that contains two or more records and the last record is incomplete. However, If any other row other than the last record is incomplete, BCP reports the following error message:

DB-LIBRARY error:
"Attempt to bulk-copy an oversized row to the SQL Server."

This problem occurs with SQL Server 6.0 Service Pack 3 and SQL Server 6.5 versions of Ntwdblib.dll.


WORKAROUND

The only workaround at this time is to use a text editor such as Notepad or Wordpad to see if the last row of data is incomplete. This will let you know ahead of time, before performing BCP, that the last row is not complete. You can also place data in the incomplete row. Replacing the Ntwdblib.dll file with an earlier version does not resolve this problem because of the incomplete row.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: null import load

Keywords : kbusage SSrvBCP SSrvDB_Lib
Version : 6.0 6.5
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: April 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.