With this script you can see the permissions that every user-defined role and every user without a dbrole has.
The list could get very large and hard to manage, but it helped me to build the roles of an app that didn't had any role defined.
Hope it'll be usefull to someone
Harnessing SQL Server Metadata- Disabling and Rebuilding Indexes
When doing bulk data changes it may be beneficial to disable indexes prior to starting the operation. Fortunately, SQL's rich metadata makes this very easy to automate in a robust fashion.
2018-05-18 (first published: 2015-10-19)
4,855 reads