Microsoft KB Archive/93419

{|
 * width="100%"|

The information in this article applies to:
 * Microsoft SQL Server version 4.2a for OS/2

BUG# 7637 (4.2)

SYMPTOMS
When 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 &quot;integer&quot; 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.

CAUSE
SQL Server incorrectly handles table columns that are defined as an integer allowing nulls and having a default in the Bulk Copy utility.

WORKAROUND
Drop the default from the table before running BCP.

STATUS
Microsoft 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.
 * }

-

Last reviewed: April 28, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.