FIX: SQL 6.5 Does Not Allow Updates to a View If Grant Specified (165136)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q165136
BUG#: 16509 (6.50)

SYMPTOMS

When you use the grant statement and specify column names that can be updated, an update statement fails if you use a column with select permission in the where clause.

The problem occurs when setting column level update permissions to a view. Suppose you revoke update on column xxx but grant update on all other columns to public. When a user tries to update the data in the view, but not the column with the permissions revoked, he or she will receive the following error:
Error 230 Severity 14
UPDATE permission denied on column xxx of object yyy, database zzz,
owner dbo

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbbug kbfix kbusage KB165136