|   | ![]() |
|
Why do I have problems revoking
permissions on some tables with SQL Server? The command works ok, but the users still have
permissions (as shown by sp_helprotect) This is a known bug in SQL Server 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 <dbname> go exec sp_configure 'allow updates',1 go reconfigure with override go delete sysprotects where id = object_id('<tblname>') go exec sp_configure 'allow updates',0 go reconfigure with override go |
All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.