Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Changes to add export functions for Roles #5954
Type of Change
Add function to export Database and Server Roles
Adds code that wraps T-SQL scripts that fully generate the Role scripts
This command is based off of John Eisbrener's post "Fully Script out a MSSQL Database Role"
Includes changes to
Used with Permission
Commands to test
I will look into the enumeration errors and also issue with SQL 2005 or earlier.
Do you have more details on where this error is being generated?
The error looks like some issue with Collation differences . What is the collation of SQL2005 instance you are testing against?