Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
cyberbeatz
Starting Member
1 Post |
Posted - 2009-05-06 : 10:00:43
|
Hi, I was wondering if anyone knows how to write a query/script that would output all login accounts on a single SQL server instance and what databases they have access to. I have several SQL servers, all with multiple databases. I'm trying to ascertain what security accounts exist on each SQL server and what databases each account has access to. I can do this manually, but it is so tedious. Hope someone out there can help.Thanks! |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-05-09 : 23:43:34
|
sp_helplogins |
|
|
|
|
|