PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > Create Function permission...
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Create Function permission...

Réponse
 
LinkBack Outils de la discussion
Vieux 20/09/2007, 22h56   #1
Matthew Wells
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Create Function permission...

How do I give a Windows group complete rights (including create) to all
stored procedures and user defined functions without giving them dbo access
in SQL Server 2005? If I have to I can do it from the Management Console,
but I would also like to know the commands.

Thanks

Matthew Wells
Matthew.Wells@FirstByte.net


  Réponse avec citation
Vieux 20/09/2007, 23h15   #2
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create Function permission...

Matthew Wells (Matthew.Wells@FirstByte.net) writes:
> How do I give a Windows group complete rights (including create) to all
> stored procedures and user defined functions without giving them dbo
> access in SQL Server 2005? If I have to I can do it from the Management
> Console, but I would also like to know the commands.


GRANT CREATE PROCEDURE TO [Windows\group]
GRANT DROP PROCEDURE TO [Windows\group]
GRANT ALTER ON SCHEMA::dbo TO [Windows\group]

If you use other schemas than dbo, they need ALTER permissions on those
schemas as well.

I'm not sure that you will find ALTER sufficient. In that case, you can
grant CONTROL on the schemas. But as long as they only have ALTER/CONTROL on
schema level, they can create users, certificates etc.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07082 seconds with 10 queries