BUG: BCP from a Table with Defaults May Cause ErrorLast reviewed: April 28, 1997Article ID: Q93419 |
The information in this article applies to:
SYMPTOMSWhen using Bulk Copy utility (BCP) to transfer data from a table with user-defined datatype and defaults are bound to both the datatypes and the column, BCP may generate the following error message:
Msg 243, level 16, state 1 Type "integer" is not a defined system type.Further research indicates that the error occurs only when the column is defined as INT allowing NULL and the datatype is defined as INT but not allowing NULL. If they are both defined as not allowing nulls, the problem will not occur.
CAUSESQL Server incorrectly handles table columns that are defined as an integer allowing nulls and having a default in the Bulk Copy utility.
WORKAROUNDDrop the default from the table before running BCP.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2a for OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: BCP
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |