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

Last reviewed: April 29, 1997
Article ID: Q164170
The information in this article applies to:
  • Microsoft SQL Server, version 6.5 Service Pack 2
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 : kbbug6.50.sp2 kbusage SSrvTran_SQL
Version : 6.50.sp2
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.