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

my application user asking to give access to execute a storedprocedure in any database it it possible? if so how Expand / Collapse
Author
Message
Posted Friday, October 5, 2012 3:34 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Sunday, February 21, 2016 11:25 PM
Points: 612, Visits: 1,372
Hi all

one of my application user asking to give access to execute a storedprocedure where ever he wants to execute in any database it it possible? if so how

wha permissions can we give inthis case ??

i feel it by giving [ddladmin and db_owner ] in database role and setupadmin and serveradmin in server role ??


is it possible to make a stored procedure to execute in any database ?


Thanks
Naga.Rohitkumar
Post #1368911
Posted Tuesday, October 16, 2012 5:51 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, April 8, 2016 3:23 AM
Points: 2,849, Visits: 4,075
grant exec on "stored_proc" to "user"

-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #1373173
Posted Tuesday, October 16, 2012 4:24 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 9:44 PM
Points: 40,378, Visits: 37,587
naga.rohitkumar (10/5/2012)
Hi all

one of my application user asking to give access to execute a storedprocedure where ever he wants to execute in any database it it possible? if so how

wha permissions can we give inthis case ??

i feel it by giving [ddladmin and db_owner ] in database role and setupadmin and serveradmin in server role ??


is it possible to make a stored procedure to execute in any database ?


I have to ask... what does this store procedure do and why would you have a user execute it? It'll make a difference in how I answer.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

Helpful Links:
How to post code problems
How to post performance problems
Post #1373570
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse