Microsoft KB Archive/165136

From BetaArchive Wiki
Knowledge Base


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

Article ID: 165136

Article Last Modified on 10/3/2003



APPLIES TO

  • Microsoft SQL Server 6.5 Standard Edition



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.

Keywords: kbbug kbfix kbusage KB165136