BUG: 'Not Null' Constraints May Be Ignored When Inserting Data
Article ID: 169986
Article Last Modified on 10/16/2003
APPLIES TO
- Microsoft SQL Server 6.0 Standard Edition
- Microsoft SQL Server 6.5 Standard Edition
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.
Keywords: kbbug kbusage KB169986