As a clean up job, I am trying to remove all users' (including non public users) access right to a single table object (apart from superusers) and will subsequently grant new access rights. Is there a simple way to remove access rights to a table without using a cursor with system tables?
migrated from stackoverflow.com Jun 13 '12 at 17:25
This question came from our site for professional and enthusiast programmers.
This code should work below:
Let me know if that does what you're looking for. Change UberSecureTable to your actual table name.