Re: How do I let users create databases and only let them delete their own?

From: Brian Moran (briancmoran_at_hotmail.com)
Date: 04/29/03


Date: Tue, 29 Apr 2003 12:45:39 -0400


I don't see how you could do that in SQL2K. You'd have to create the DB for
the person and then make them DBO.

--
Brian
"Michael Fong" <michael.fong@nospam.none.nt.gov.au> wrote in message
news:#oIjJCiDDHA.1304@TK2MSFTNGP11.phx.gbl...
> Hi there,
>
> I have a user who I have granted the "Database Creators" Server Role, but
> with this they
> can delete or modify any database they want.
>
> I want the user to create and then only be alloed to delete and modify
thier
> own databases ( ie only if they are the dbo )
>
> Any idea on how I can do this,
>
> Cheers,
>
> Michael
>
>


Relevant Pages

  • Re: Change dbo
    ... I have a database where a user is defined as the dbo on a database. ... I tried using SQL Server Manger ... The login for this person maps to dbo. ...
    (microsoft.public.sqlserver.security)
  • Re: db_owner role in SQL 2k
    ... I do the select user_nameand get dbo ... Do you mean EM lists VDW as the owner of the database? ... I presume then that you are logged in as tfs. ... So my guess is that the login tfs is in the sysadmin role on the server, ...
    (microsoft.public.sqlserver.programming)
  • Re: Groups for dbo
    ... Thanks for the instructions on changing the database owner...I suspect ... While dbo is SUPPOSED to be a special user that's not used for routine ... It's probably safer to change the database owner in any event, ... >> I'm still fairly new to SQL Server, and I'm trying to figure something ...
    (microsoft.public.sqlserver.security)
  • Re: Change UDF Owner
    ... system_function_schema -especially in the master database. ... Most good judgment comes from experience. ... dbo is in the context of a database, and can be the schema owner for the ... Users can be put in the dbo role, ...
    (microsoft.public.sqlserver.security)
  • Re: Change dbo
    ... I have a database where a user is defined as the dbo on a database. ... I tried using SQL Server Manger ... The login for this person maps to dbo. ...
    (microsoft.public.sqlserver.security)