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

Last reviewed: March 18, 1997
Article ID: Q164918
The information in this article applies to:
  • Microsoft SQL Server, versions 6.0 and 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 kbbug6.50
Version : 6.0 6.5
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.