Question: What does this code do ? SELECT name, type _ desc FROM sys . server _ role _ members srm JOIN sys . server _

What does this code do?
SELECT name, type_desc
FROM sys.server_role_members srm
JOIN sys.server_principals sp
ON srm.member_principal_id = sp.principal_id
Group of answer choices
it uses catalog views to display information about members of server roles
it cross-checks which server role holders are also server principals
it uses system stored procedures to list the name and type of all server roles
nothing, it results in an error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!