SQL Script DB Objects
SQL Script DB Objects
Purpose: Generates create object scripts from a specified database
Steps:
- Download the attached script
- Update the $SourceServer, $db, $path, $IncludeTypes, $ExcludeSchemas, and $IncludeSchemas variables.
- Run the script
Note:
- The DBA Tools module must be loaded into your session (click here).
- You must have adequate permissions on the server and database to script database objects.