Microsoft KB Archive/169986

From BetaArchive Wiki
Knowledge Base

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

Article ID: 169986

Article Last Modified on 10/16/2003


  • Microsoft SQL Server 6.0 Standard Edition
  • Microsoft SQL Server 6.5 Standard Edition

This article was previously published under Q169986


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.


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


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: kbbug kbusage KB169986