Why do I have problems revoking permissions on some tables with SQL Server?

Neil Pike

February 4, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A. This is a known bug in SQL Server 6.5 with tables that have 8n-1 columns. I.e. 7, 15, 22 etc.

To workaround it remove all entries from sysprotects and then re-grant permissions as necessary.

use
go
exec sp_configure 'allow updates',1
go
reconfigure with override
go
delete sysprotects where id = object_id('')
go
exec sp_configure 'allow updates',0
go
reconfigure with override
go

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like