Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

how to permit only drop user tables
Hi, i want to permit a user to create tables and only drop the tables that h
e
creates. With db_ddladmin he can drop any table, but i want than he can only
drop the tables that he create. What i can do??

Report this thread to moderator Post Follow-up to this message
Old Post
Mariano
08-31-05 01:23 AM


RE: how to permit only drop user tables
Mariano,

Do not add this user to roles sysadmin, db_owner or db_ddladmin. Instead,
allow him to create tables using "grant". In this way, he can create tables
and drop his tables but he can not drop tables owned by other users.


AMB

"Mariano" wrote:

> Hi, i want to permit a user to create tables and only drop the tables that
 he
> creates. With db_ddladmin he can drop any table, but i want than he can on
ly
> drop the tables that he create. What i can do??

Report this thread to moderator Post Follow-up to this message
Old Post
Alejandro Mesa
08-31-05 01:23 AM


RE: how to permit only drop user tables
Ok, thx for your answer, but how i allow him to create tables using "grant"?
?
What i have to do? Onetime i allow him to exec dt_adduserobject,
 dt_adduserobject_vcs
,  dt_droppropertiesbyi
d,  dt_dropuserobjectbyi
d and it
works, but now i do the same and itsn“t work. Can you help me?

"Alejandro Mesa" wrote:

> Mariano,
>
> Do not add this user to roles sysadmin, db_owner or db_ddladmin. Instead,
> allow him to create tables using "grant". In this way, he can create table
s
> and drop his tables but he can not drop tables owned by other users.
>
>
> AMB
>
> "Mariano" wrote:
> 

Report this thread to moderator Post Follow-up to this message
Old Post
Mariano
08-31-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 12:26 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006