Thank this author by sharing:
index include script
Scripting Objects Including Permissions
Script to get the Database restore history details including with the files by which the database is...
Script tables but why not include their non-clustered indexes ?
Script one or all roles in a database. Includes users, obect permissions and column permissions.
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.