Re: 50 and more servers, 200 and more datyabases, HOW TO list USER
- From: Helmut Woess <user22@xxxxxxxx>
- Date: Mon, 5 Jun 2006 19:36:04 +0200
Am Mon, 5 Jun 2006 09:03:02 -0700 schrieb Eric DonBanziani:
If i use Query Analyzer, should i open each DATABASE manually ?
I haven't find how to make this magic script:
-Connect each server
-connect each database
-extract each database user
Thanks.
"Keith Kratochvil" wrote:
Have you used Query Analyzer? You may find that it is much more simple to
use (not to mention, faster) for many tasks.
--
Keith Kratochvil
"Eric DonBanziani" <Eric DonBanziani@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:4FAE9B0D-07F3-458C-89D5-8183CF4ECE26@xxxxxxxxxxxxxxxx
Hi everybody,
I have more than 50 servers. Each server have 1 to 20 or more databases.
All
databases are SQL SERVER 2000 SP3 / SP4.
Does anyone knows a script or a tool to list each DATABASE users ?
It's borrying to use Enterprise Manager, connect each server, each
database,
and export user list...
Thanks for your help....
For the servers i dont know how to do this automatic with a sql statement,
but for the databases on a server there are so magic (and in BOL not
documented) functions like sp_msforeachdb ... :
http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocSP.htm
bye, Helmut
.
- References:
- Re: 50 and more servers, 200 and more datyabases, HOW TO list USERS ?
- From: Keith Kratochvil
- Re: 50 and more servers, 200 and more datyabases, HOW TO list USERS ?
- Prev by Date: Re: transfer database between two servers which don't want to talk
- Next by Date: Re: transfer database between two servers which don't want to talk
- Previous by thread: Re: 50 and more servers, 200 and more datyabases, HOW TO list USERS ?
- Next by thread: Re: 50 and more servers, 200 and more datyabases, HOW TO list USERS ?
- Index(es):
Relevant Pages
|