Copies the permissions from an existing database user to a new database user.
Usage:
exec copy_permissions_for_database 'From_User', 'To_User'
* From_User must exist in the database.
* To_User must not exist in the database.
* To_User must exist as a login on the server.
I used http://www.sqlservercentral.com/columnists/awarren/sqlpermissionspublicrole_2.asp as a starting point.
Get a summarized report of all DataBases options
This SELECT will give you a summarized report for the options selected for ALL the databases on your SQL Server. It's compatible with versions 7 and 2000.
2002-07-11
648 reads