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
Author
Message
Posted Thursday, May 9, 2013 2:04 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 8:40 AM
Points: 2,327, Visits: 2,656
Hi,

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?'"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
Post #1451313
Posted Thursday, May 9, 2013 3:40 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 3:58 PM
Points: 22,999, Visits: 31,481
Straight from BOL:

http://msdn.microsoft.com/en-us/library/ms188629(v=SQL.90).aspx

Also here:

http://msdn.microsoft.com/en-us/library/ms189121(v=sql.100).aspx



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