Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Question about db_datareader role Expand / Collapse
Posted Thursday, May 9, 2013 2:04 PM



Group: General Forum Members
Last Login: 2 days ago @ 1:32 PM
Points: 2,638, Visits: 3,196

For the db_datareader fixed database role: If I add a login to that role for a database, can it select from any table or view in the database, or is there some restriction based on schemas?

The reason I ask is that someone wants to review data in a database and I want to be sure they can select from all of the tables and views, regardless of the schema to which they belong.

If there is additional configuration needed beyond adding a login to db_datareader to accomplish this goal, please let me know.

Thanks for any help!

- webrunner

"Operator! Give me the number for 911!" - Homer Simpson

"A SQL query walks into a bar and sees two tables. He walks up to them and says 'Can I join you?'"
Post #1451313
Posted Thursday, May 9, 2013 3:40 PM



Group: General Forum Members
Last Login: 2 days ago @ 5:28 PM
Points: 22,259, Visits: 35,215
Straight from BOL:

Also here:

Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1451353
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse