1.

What is the syntax for fn_my_permissions function in SQL Server 2014?(a) fn_my_permissions ( securable , securable_class )(b) fn_my_permissions ( securable , ‘securable_class’ )(c) fn_my_permissions ( ‘securable’ , securable_class)(d) fn_my_permissions ( ‘securable’ , ‘securable_class’ )The question was posed to me in a job interview.This question is from Securables topic in portion Security of SQL Server

Answer»

The correct option is (b) fn_my_permissions ( SECURABLE , ‘securable_class’ )

EXPLANATION: Securable is the name of the securable. If the securable is the server or a DATABASE, this value should be set to NULL. securable is a scalar expression of TYPE sysname. securable can be a multipart name.



Discussion

No Comment Found

Related InterviewSolutions