List Object level permissions Posted by AskMeSql at 8:12 AM Post a Comment SELECT c.action, o.name, b.name FROM sys.objects oINNER JOIN sysprotects c ON o.object_id = c.idINNER JOIN sysusers b ON c.uid = b.uidWHERE o.type IN ('U','P','V')AND b.name = 'LoginName'
SQL Maintenance Plan error “Could not generate mail report.An exception occurred while executing a Transact-SQL statement or batch.No global profile is configured. Specify a profile name in the @profile_name parameter.”
Post a Comment
Post a Comment