Microsoft KB Archive/164170

= BUG: Update Fails Through a View but the Column Has Permission =

Article ID: 164170

Article Last Modified on 10/3/2003

-

APPLIES TO


 * Microsoft SQL Server 6.5 Service Pack 2

-



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.

Additional query words: 6.50.sp2 sp2

Keywords: kbbug kbusage KB164170

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.