Microsoft KB Archive/101242

{|
 * width="100%"|

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

BUG# 8902 (4.2)

SYMPTOMS
When loading an ASCII terminated file with the Bulk Copy Program (BCP) version 4.2, defaults on TEXT datatypes are ignored. Instead, NULL is inserted into the text column instead of the default that is bound to that column and/or datatype for that column.

WORKAROUND
The following two options avoid the problem:


 * modify the ASCII data file to include the default value where values are not given.
 * after loading the data, issue an UPDATE statement to change the NULL to the default value.

STATUS
Microsoft has confirmed this to be a problem in SQL Server versions 4.2 and 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: May 5, 1997

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