The information in this article applies to:
BUG #: 54274 (SQLBUG_70); 55554 (SQLBUG_70) SYMPTOMS
Although a member of the db_owner role is successfully able to execute the sp_bindefault stored procedure, the default will not be correctly supplied when an INSERT statement is run and a value is not specified.
CAUSEThe owner qualifier in the object name is optional. When specified, these system stored procedures are not correctly handling the parameter. Note that in the error 15104 message, the table name is given as 'dbo' rather than the actual table name. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next SQL Server service pack
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later: NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.WORKAROUNDTo work around this problem, run the command as the actual database owner (DBO), rather than a db_owner role member, and omit the optional object owner qualifier from the command. For example, instead of doing the following:
Use a command like the one below:
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. MORE INFORMATIONSQL Server 7.0 Books Online does not explicitly mention that permissions to these procedures are also granted to db_owner role members. However, this permission is consistent with the purpose and design of roles in SQL Server 7.0. Additional query words: security constraint
Keywords : SSrvAdmin SSrvDoc_Err SSrvTran_SQL kbbug7.00 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |