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

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 05, 2012 3:34 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 5:34 AM
Points: 525, Visits: 997
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 & Regards
NAGA.ROHITKUMAR
Post #1368911
Posted Tuesday, October 16, 2012 5:51 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562, Visits: 3,451
grant exec on "stored_proc" to "user"

-------Bhuvnesh----------
While 1 = 1 (Learning SQL....)
Click to get fast response of your post
Post #1373173
Posted Tuesday, October 16, 2012 4:24 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 11:36 AM
Points: 32,890, Visits: 26,759
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."

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1373570
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse