Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2010-12-01 : 04:53:33
|
If i want to set permissions for a user for just what they need to access.If I give them exec permission to stored procedure -do I have to give them permission to the tables the stored procedure may select form or even delete from? |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2010-12-01 : 05:19:10
|
No - not if the tables are in the same database as the sp. They will inherit those permissions from the owner of the SP.Note - if the sp has any dynamic sql or accesses anything outside the dtabase then the permissions will be checked for the login that is running the sp.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
|
|
|
|
|