Re: Server roles
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Tue, 24 Jun 2008 15:31:31 -0700
Peter Lindberg (plTAKE@xxxxxxxxx) writes:
But Erland, your thought was clever, pity I couldn't get it to work;-)
I could get data from "MYmaster.sys.sysxlgns". All other "sys.sys*"
gave me the same result if I prefixed it with master or MYmaster.
It's probebly my poor t-sql. Is it possible to create a query that
would actually give the output result as I would get it from
sp_helpsrvrolemember?
Not really sure what you did, but you need to use sp_helptext on the
catalog views, get the view definition directly, then run the command
against the system tables.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Server roles
- From: Peter Lindberg
- Re: Server roles
- References:
- Server roles
- From: Peter Lindberg
- Re: Server roles
- From: Uri Dimant
- Re: Server roles
- From: Peter Lindberg
- Re: Server roles
- From: Uri Dimant
- Re: Server roles
- From: Peter Lindberg
- Re: Server roles
- From: Erland Sommarskog
- Re: Server roles
- From: Peter Lindberg
- Server roles
- Prev by Date: Re: Grant v Deny
- Next by Date: Re: Help We Got Hacked with a SQL Injector
- Previous by thread: Re: Server roles
- Next by thread: Re: Server roles
- Index(es):
Relevant Pages
|