Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
Security (SS2K8)
»
about schemas and roles
about schemas and roles
Rate Topic
Display Mode
Topic Options
Author
Message
sej2008
sej2008
Posted Monday, March 04, 2013 12:04 PM
SSC Journeyman
Group: General Forum Members
Last Login: Friday, May 10, 2013 1:00 AM
Points: 76,
Visits: 120
when you open ssms under database you have schema folder that contains yet again many nodes such as db_datareader,db_datawriter etc which are actually roles also available under roles node in database.how this are different
what is the working of roles under schema node in ssms ??
can anyone tell me it's use?
Post #1426394
K. Brian Kelley
K. Brian Kelley
Posted Monday, March 04, 2013 12:17 PM
Keeper of the Duck
Group: Moderators
Last Login: Yesterday @ 4:47 PM
Points: 6,584,
Visits: 1,788
They are named the same, but they aren't the same. There is a role called db_datareader and there is a schema called db_datareader. This is a holdover from the SQL Server 2000 days when the users in a database were also effectively schemas if they owned any objects. You couldn't separate the two.
Treat the roles as roles and the schemas as schemas. I would recommend not using these pre-generated schemas, however.
K. Brian Kelley, CISA, MCSE, Security+, MVP - SQL Server
Regular Columnist (Security), SQLServerCentral.com
Author of
Introduction to SQL Server: Basic Skills for Any SQL Server User
|
Professional Development blog
|
Technical Blog
|
LinkedIn
|
Twitter
Post #1426404
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.