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

ID: Q165136


The information in this article applies to:

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.


Keywords          : kbusage SSrvGen 
Version           : 6.5
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 9, 1999