RE: Script logins, passwords & database access
From: Alvin Zhao[MSFT] (alvinzh@online.microsoft.com)
Date: 01/17/03
- Next message: Jobi: "Re: Different NT Domains"
- Previous message: Gustavo Merle: "Re: Login Packet Encryption"
- In reply to: Russell Harrell: "Script logins, passwords & database access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: alvinzh@online.microsoft.com (Alvin Zhao[MSFT]) Date: Fri, 17 Jan 2003 07:15:46 GMT
Hi Russell,
Since you have a script that scripts out logins from databases except
default databases, you can look through the script and find why the default
databases are omitted. Possible the script uses a WHERE predicate to rule
out the system databases when finding all the databases in the SQL Server.
Just find it and remove it. You can find the database grant information in
the INFORMATION_SCHEMA.TABLE_PRIVILEGES view and
INFORMATION_SCHEMA.COLUMN_PRIVILEGES view.
In addition, you can manually generate the scripts for object in database
in Enterprise Manager. In SQL 2000 Enterprise Manager, right-click on the
database name (not on some object), select All Tasks - Generate SQL
Scripts, verify that on the General tab you can select the right objects
you desired, on Options tab select users, logins and permissions.
Sincerely,
Alvin Zhao
Microsoft Support
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: Jobi: "Re: Different NT Domains"
- Previous message: Gustavo Merle: "Re: Login Packet Encryption"
- In reply to: Russell Harrell: "Script logins, passwords & database access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|