Click here to monitor SSC
SQLServerCentral is supported by Redgate
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: Friday, December 2, 2016 1:42 PM
Points: 2,941, Visits: 3,702

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

"I love spending twice as long and working twice as hard to get half as much done!" – Nobody ever.

"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: Yesterday @ 5:43 PM
Points: 23,516, Visits: 37,735
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