BUG: Update Fails Through a View but the Column Has Permission (164170)



The information in this article applies to:

  • Microsoft SQL Server 6.5 Service Pack 2 and later

This article was previously published under Q164170
BUG #: 16520 (NT: 6.5)

SYMPTOMS

Updating a column through a view fails with Msg 230, even when you have update permission on the column. This problem only happens when column- level update grants are used to give permission on certain columns on the view, but not on all of them.

WORKAROUND

Create a view such that it only contains the column on which user can have update permission and grant update permission to the user. Create another view to contain all the columns the user can see, and provide select permission on that.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5 U.S. Service Pack 2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbusage KB164170