New owner with 'orig' owners permissions.
From: Roumen K (roumen_at_comcast.net)
Date: 05/28/03
- Next message: SQL Server Development Team [MSFT]: "Re: Redundant SQL Login Prompt"
- Previous message: SQL Server Development Team [MSFT]: "Re: SQL Server Agent User Rights"
- In reply to: Mark Hibberd: "New owner with 'orig' owners permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 May 2003 10:35:24 -0700
Try this:
Create a script using EM for the database objects, users,
server logins and object level permissions (just in case -
specify only "Create object" under formatting options).
Open in the Query Analyzer and use 'Replace' to substitude
the user name with the new one you need to set up. Execute
only the commands for creating the login, user and
permissions.
Roumen K
>-----Original Message-----
>Hi all,
>
>I've got a problem I need help with. First, I've
restored a copy of a
>database into a new 'training' database. Now I want to
change the
>ownership of all tables to a new user, which I've already
created.
>The problem is that want to also transfer the individual
object
>permissions over to the new owner. These permissions are
very
>specific and vary object by object. The new object owner
will not
>have any of the original permissions if I simply change
ownership from
>the original to the new user. There are over 2000 tables
alone and
>I'm looking for a way to do this as easily as possible.
>
>Any ideas?
>
>Thanks very much for any help on this.
>
>-Mark.
>.
>
- Next message: SQL Server Development Team [MSFT]: "Re: Redundant SQL Login Prompt"
- Previous message: SQL Server Development Team [MSFT]: "Re: SQL Server Agent User Rights"
- In reply to: Mark Hibberd: "New owner with 'orig' owners permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|