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



The information in this article applies to:

  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5

This article was previously published under Q169986

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.

Modification Type:MajorLast Reviewed:10/16/2003
Keywords:kbBug kbusage KB169986