sqldbafamily
Pages
Home
About
SQL Server DBA Interview Questions
Thursday, July 12, 2012
Query to find Users and their Database Roles in SQL Server 2000
SELECT
USER_NAME
(
memberuid
)
as
UserName
,
USER_NAME
(
groupuid
)
as
Role
FROM
sysmembers
;
MvM
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment