Re: Set perissions on stored procedure
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 5 Jul 2007 22:26:54 +0000 (UTC)
Andy (andys@xxxxxxxxxxxxxx) writes:
Hi there in Enterprise Manager I could grant execute permissions on a
stored procedure for one of my database roles, by right clicking the
stored procedure and choosing All Tasks -> Manage Permissions.
Is there any way I can do this in Management Studio Express for a SQL
Server 2005 Express database? I know I could run a bit of T-SQL along
the lines of
GRANT EXECUTE ON [dbo].[spMyStoredProcedure] TO [MyDatabaseRole]
but it would be nice to be able to do it in Management Studio.
Right-click the procedure in Object Explorer and select Properties. Look
to the left to find Permissions.
Note: I'm using SSMS from Developer Edition, but I would expect this
be possible in Mgmt Studio Express as well.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Set perissions on stored procedure
- From: Andy
- Re: Set perissions on stored procedure
- References:
- Set perissions on stored procedure
- From: Andy
- Set perissions on stored procedure
- Prev by Date: Re: Complete Neophyte Question(s)
- Next by Date: Re: Protecting Against Hacking Threats
- Previous by thread: Re: Set perissions on stored procedure
- Next by thread: Re: Set perissions on stored procedure
- Index(es):
Relevant Pages
|