How can I automate the "generate scripts" task in SQL Server Management Studio 2008 ?
Posted
by Brann
on Stack Overflow
See other posts from Stack Overflow
or by Brann
Published on 2009-01-27T14:24:14Z
Indexed on
2010/05/06
18:08 UTC
Read the original article
Hit count: 294
I'd like to automate the script generation in SQL Server Management Studio 2008.
Right now what I do is :
- Right click on my database, Tasks, "Generate Scripts..."
- manually select all the export options I need, and hit select all on the "select object" tab
- Select the export folder
- Eventually hit the "Finish" button
Is there a way to automate this task?
Edit : I want to generate creation scripts, not change scripts.
© Stack Overflow or respective owner