Re: Stored procedure update permission
From: Keith Kratochvil (sqlguy.back2u_at_comcast.net)
Date: 09/10/04
- Next message: Bart Duncan [MSFT]: "RE: Collation"
- Previous message: Roberto Carabajal: "How I can undo drop Table ?"
- In reply to: Ray Kurpiel: "Stored procedure update permission"
- Next in thread: Ray Kurpiel: "Re: Stored procedure update permission"
- Reply: Ray Kurpiel: "Re: Stored procedure update permission"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 13:48:54 -0500
Within our development database:
Each developer has their own sql login and each developer has rights to
create stored procedures. The application that we developed is written so
that it will connect to the development database server using their specific
sql login. When they execute procFoo SQL Server automatically tries to
execute InsertDeveloperNameHere.procFoo. If it does not find procFoo owned
by InsertDeveloperNameHere it will run the dbo version of procFoo. This
allows each developer to work on their own code, make their own changes to
stored procedures, and not impact anyone else.
Within our test database (and higher) everything is owned by dbo and a
different set of logins is used.
-- Keith "Ray Kurpiel" <RayKurpiel@discussions.microsoft.com> wrote in message news:B6857441-6F6B-4A6F-841A-444CE567392A@microsoft.com... > As a DBA, I've always had an issue with the way updates to stored procedures > are treated the same as changes to table structures in SQL Server. My primary > concern has been with the design of table structures and I generally let the > developers make changes to stored procedures in a test database and I migrate > them to production. However, unless you grant the developers db_owner or > db_ddladmin to the database, they can't make changes directly to stored > procedures in the public (dbo) schema and I don't want them to have the > ability to change tables. I do grant them the ability to "Create SP" but they > can only update their own stored procedures. Subsequently, I must change > ownership of these stored procedures to dbo for integrated testing ( I wish > Microsoft would provide a separate fixed role that would allow updates to the > public stored procedures). How does everyone else handle this issue? Is this > the only way? Any ideas?
- Next message: Bart Duncan [MSFT]: "RE: Collation"
- Previous message: Roberto Carabajal: "How I can undo drop Table ?"
- In reply to: Ray Kurpiel: "Stored procedure update permission"
- Next in thread: Ray Kurpiel: "Re: Stored procedure update permission"
- Reply: Ray Kurpiel: "Re: Stored procedure update permission"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|