FIX: BULK INSERT May Silently Reject NULL Values for NOT NULL Columns

This article was previously published under Q274521
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57764 (SQLBUG_70)
The BULK INSERT statement appropriately rejects rows with NULL values for NOT NULL columns.

In some cases, BULK INSERT silently rejects the rows and does not print an error message for each row that is rejected. This behavior is incorrect.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
After Service Pack 3 (SP3) for Microsoft SQL Server version 7.0 is applied, BULK INSERT prints an error message for each rejected row.

Article ID: 274521 - Last Review: 10/21/2013 01:51:14 - Revision: 2.1

  • Microsoft SQL Server 7.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix KB274521