GRANT ALL FOR "MAN" provides all permissions for all objects available in the database. But I'm not sure if this should work in sql server 2005, as far as I know, they left "GRANT ALL" just for backward compatibility.
According to an article in SQL Server 2005, it works as follows:
- If the database to be protected, βALLβ means BACKUP DATABASE, BACKUP LOG, CREATE DATABASES, CREATE DEFAULT, CREATE FUNCTION, CREATE PROCEDURE, CREATE RULE, CREATE TABLE and CREATE VIEW.
- If reliable is a scalar, the "ALL" function means EXECUTE and RECOMMENDATIONS.
- If the protected table is a table function "ALL" means DELETE, INSERT, LINKS, SELECT and UPDATE.
- If the protected is stored, the procedure "ALL" means EXECUTE.
- If the table is protected, ALL means DELETE, INSERT, REFERENCES, SELECT, and UPDATE.
- If the view is protected, "ALL" means DELETE, INSERT, REFERENCES, SELECT, and UPDATE.
Hope someone answers correctly.
MSDN - GRANT
source share