BUG: Exceeding Max Error Value in BCP Can Give Unhandled AVLast reviewed: May 2, 1997Article ID: Q151592 |
The information in this article applies to:
SYMPTOMSWhen a BCP (Bulk Copy Program) operation exceeds the max error setting, an unhandled exception can be encountered with the BCP executable. This is controlled by the (-m) switch of the BCP.EXE, which defaults to 10 errors.
CAUSEIf the max error value is exceeded, the bcp_exec function attempts to free a memory block twice. In some cases this results in an access violation while in other cases it can simply corrupt application memory.
WORKAROUNDEliminate the errors from the BCP operation so that the max error value is not exceeded.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |