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 |
|
kid_on_the_block
Posting Yak Master
172 Posts |
Posted - 2007-04-18 : 11:16:42
|
| Hi Just logged on to one of the SQL Servers.I see a lot of logins there who dont have any database access. Its a SQL Server 2000 box.Can someone please help me with a script that would get me a list of such Orphan Logins (not orphan users).ThanksRegards |
|
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
|
|
kid_on_the_block
Posting Yak Master
172 Posts |
Posted - 2007-04-18 : 12:15:44
|
| No that script does not. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-04-18 : 15:31:54
|
| Run sp_helplogins, you should get when you need. |
 |
|
|
|
|
|