If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
There is no specific command, but you can use this query:
Code:
select sr.name, sl.name
from syssrvroles sr, syslogins sl, sysloginroles slr
where sl.suid = slr.suid
and sr.srid = slr.srid
and sr.name like "sa_role"
In the last line, you can substitute sa_role with any role-name you want to know the members of.
__________________
I'm not crazy, I'm an aeroplane!