BUG: Default Constraints May Be Ignored When Inserting Data

ID: Q169985

The information in this article applies to:

BUG #: 16855 (NT: 6.50) BUG #: 15711 (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 a default 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.

Version             : 6.0 6.5
Platform            : WINDOWS
Issue type          : kbbug
Resolution Type     : kbworkaround

Last Reviewed: July 3, 1997