Article ID: 262446 - View products that this article applies to.
This article was previously published under Q262446
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57173 (SQLBUG_70)
When you perform an update on a view, even if the user has sufficient UPDATE permissions on the view, the following error message appears:
This problem never occurs on the first connection that tries to perform the update. However, the problem always occurs on the second connection if the first connection uses the ODBC cursor library 'use driver' and the second connection uses 'use odbc' or vice versa.
Error 230: UPDATE permission denied on column 'columnname' of object 'objectname, database 'databasename', owner 'dbo'
To work around this problem, specify the same cursor library for all connections that will update a view.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
After this problem occurs in any tool, every new connection that runs the UPDATE also encounters the problem. Only a restart of Microsoft SQL Server solves the problem. You still can run the UPDATE successfully from the first connection that ran the UPDATE successfully, although all new connections encounter the 230 error message.