BUG: 'Not Null' Constraints May Be Ignored When Inserting Data

ID: Q169986

The information in this article applies to:

BUG #: 16853 (NT: 6.50) BUG #: 15710 (NT: 6.00)

SYMPTOMS

When views and tables are created by a user of a database who is not the database owner (DBO), column constraints that are defined as 'not null' on the table are ignored when another user inserts data through the view.

WORKAROUND

To work around this problem, ensure that the DBO is the owner of the tables and views.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords          : kbusage SSrvGen kbbug6.50 kbbug6.00 
Version           : 6.0 6.5
Platform          : WINDOWS
Issue type        : kbbug

Last Reviewed: July 5, 1997