Re: Instead of DBO
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Wed, 11 Jun 2008 15:03:56 -0700
Rob (Rob@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
We have a user who needs to do the following:
1) Truncate table
2) Create temp table
Anyone can create temp table. When you say TRUNCATE TABLE, is that on
temp tables or regular tables?
Instead of granting this user DBO on the DB, what explicit permissions
and/or role assignments can he be added to?
To do TRUNCATE TABLE on a permanent table, you need ALTER permission on
that table, or membership in the db_ddladmin fixed database role.
--
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
.
- Prev by Date: Re: Certificate Requirements for SQL Data Encryption
- Next by Date: Re: Certificate Requirements for SQL Data Encryption
- Previous by thread: User Question
- Next by thread: Re: Question about setting up backend database in DMZ
- Index(es):
Relevant Pages
|
|