To know the permissions on the procedure.

---To know the permissions on the procedure.
SELECT PERM.[Type],PERM.Permission_name
FROM SYS.DATABASE_PERMISSIONS as PERM JOIN SYS.OBJECTS AS SO
ON PERM.MAJOR_ID=SO.[OBJECT_ID]
WHERE SO.[Name] like 'ProcedureName'

Comments

Popular posts from this blog

Always On FailOver Events

The transaction log for database is full due to 'OLDEST_PAGE'

SSAS Cube or Database backup with Powershell command "Backup-AsDatabase"