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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 sysadmin members

Author  Topic 

rb1373
Yak Posting Veteran

93 Posts

Posted - 2004-12-23 : 12:10:19
How can I return members of the sysadmin role with a query? Thanks!

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-23 : 13:09:54
select name
from master..sysxlogins
where xstatus & 16 <> 0


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -