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 2005
»
Administering
»
permissions
12 posts, Page 2 of 2
««
1
2
permissions
Rate Topic
Display Mode
Topic Options
Author
Message
Vishal Singh
Vishal Singh
Posted Tuesday, September 22, 2009 1:17 AM
Old Hand
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 12:30 AM
Points: 353,
Visits: 487
if you are a OKAY in scripting, you may like it.
SP_MSFOREACHDB
SP_MSFOREACHTABLE
-Forum Etiquette: How to post Performance Problems
-Forum Etiquette: How to post data/code to get the best help
Post #791540
Imran Ashraf-452633
Imran Ashraf-452633
Posted Wednesday, September 23, 2009 2:09 AM
Ten Centuries
Group: General Forum Members
Last Login: 2 days ago @ 2:54 AM
Points: 1,103,
Visits: 411
You are probably best creating DB roles and applying the permissions to that role,
eg
USE DBName
go
CREATE ROLE UPDATE_ROLE
go
GRANT EXECUTE ON [dbo].SP TO [UPDATE_ROLE]
go
GRANT SELECT, DELETE, INSERT, UPDATE ON [dbo].[tblStartup] TO [UPDATE_ROLE]
GO
Makes sense to do this so you can add users to this role and only need to define the permissions once for the role and then add users to the role.
Post #792432
« Prev Topic
|
Next Topic »
12 posts, Page 2 of 2
««
1
2
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.