Reputation: 811
Before DB deployment, we need to take backup of all the schema scripts (Tables with index & triggers, SPs, functions, table data types). We have more than 5 databases. Is there any automated way of taking scripts from all these objects across all the databases with different script file for every database?
Upvotes: 0
Views: 29
Reputation: 23
Related to https://dba.stackexchange.com/a/56625? You don't specify how often and how many databases to script, but you did say 'automated'. The Powershell tooling for SQL Server is probably your best bet.
Upvotes: 2