Re: whats is wrong here????
- From: "Dan Guzman" <guzmanda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Mar 2008 07:52:01 -0500
To add to Tom's response, you can grant a role (or user) execute permissions on all objects on a schema with a single GRANT. For example:
GRANT EXECUTE ON SCHEMA::dbo TO WebRole;
Note that it is generally best to grant permissions at the schema level only when you don't need to be more granular. If a principal needs access to some objects but not others, individual object GRANTs are the best approach, IMHO. This is in contrast to a GRANT at the schema level and DENYs on individual procs that take precedence over granted permissions.
--
Hope this helps.
Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/
"alecarnero" <alecarnero@xxxxxxxxxx> wrote in message news:e6uZ0U7VIHA.2000@xxxxxxxxxxxxxxxxxxxxxxx
I have a sql 2005 database i can look the tables but not execute pro, i have regsiter the users iwan and iusr in the database
Microsoft OLE DB Provider for ODBC Drivers erro '80040e09'
[Microsoft][ODBC SQL Server Driver][SQL Server]EXECUTE permission denied on object 'res_vent', database 'centerplan', schema 'dbo'.
/resplanejados.asp, line 21
.
- Prev by Date: Re: Little database user account script need help...
- Next by Date: Re: Little database user account script need help...
- Previous by thread: Little database user account script need help...
- Index(es):
Relevant Pages
|
|