I am using SQL Server 2005, I want to find out what all the grants are on a specific database for all tables. It would also help to find out all tables where the delete gran
To view all grants on a specific database use this:
Select * from INFORMATION_SCHEMA.TABLE_PRIVILEGES
To just view delete grants on a specific database use this:
Select * from INFORMATION_SCHEMA.TABLE_PRIVILEGES WHERE PRIVILEGE_TYPE = 'DELETE'