Can I grant select permission on all database to a user-defined role? I create a user-defined server role, and add logins as members of it. I want these logins can view all databases and have select permission on all databases. how should I do?

No correct solution


exec sp_addrolemember db_datareader, <User-Defined Role>; 

This is equivalent to granting SELECT on all tables in the DB.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top