Please can someone explain what the following statement does in SQL Server 2005:
GRANT ALL TO pax_writer
pax_writer is a database role previously created using the statement
CREATE ROLE pax_writer AUTHORIZATION dbo
Grants database permissions
This is the only time you can leave the ON ThingsAndStuff
clause out.
ALL
This option does not grant all possible permissions. Granting ALL is equivalent to granting the following permissions: BACKUP DATABASE, BACKUP LOG, CREATE DATABASE, CREATE DEFAULT, CREATE FUNCTION, CREATE PROCEDURE, CREATE RULE, CREATE TABLE, and CREATE VIEW.
GRANT ALL TO "someone" grants all permissions for all objects available in the database. But I'm not sure this is suppose to work in sql server 2005 as far as I'm concerned they left "GRANT ALL" only for backward compatibility.
According to the article in sql server 2005 works like this:
Hopefully someone will the right answer
MSDN - GRANT
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With