Re: Schema Users and permissions
- From: "Kalen Delaney" <replies@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 09:50:33 -0700
Hi Woodster
CREATE TABLE is a separate privilege, outside of the ability to ALTER any
particular schema.
GRANT CREATE TABLE TO <user or list-of-users or role>
Once someone has CREATE TABLE permission, they need permission to ALTER
whatever schema they are going to create a table in.
--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"TheWoodster" <TheWoodster@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:90EA120D-131A-436E-9235-E3B20E85B016@xxxxxxxxxxxxxxxx
I'm fairly new to MS-SQL administration but have been a DBA for Mainframe
DB's and for Oracle over many years. My problem is in trying to establish
a
secure development environment whereby each user has their own schema
which
they have full control and can grant privileges to others. I'm not sure
what
privileges I need to grant without giving too much authority.
We are running MS-SQL 2005 and are using Window Auth. I've created a
schema
for each individual user and have assigned it as their default. They are
also
the owner of their schema. However, when they try to create a table, they
get
a message saying they do not have the CREATE TABLE privilege. I would have
thought that as owner of the Schema they would have this authority.
I did find some information saying I needed to GRANT ALTER to the dbo
Schema
for each one. However, this did not seem to have an effect.
Has anyone done this and would be willing to share how they set it up?
--
Regards,
TheWoodster
.
- Prev by Date: Re: Extracting logins from a master database
- Next by Date: VLDB, RAID, and clustering
- Previous by thread: Re: Transmission of Username & Password?
- Next by thread: VLDB, RAID, and clustering
- Index(es):
Relevant Pages
|
|