Generate SQL server scripts from command line?

Posted by Luke Sampson on Stack Overflow See other posts from Stack Overflow or by Luke Sampson
Published on 2009-08-21T02:29:43Z Indexed on 2010/06/11 19:32 UTC
Read the original article Hit count: 334

In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow?

Screenshot of Generate SQL Server Scripts Wizard

It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 2008 installation.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about sql-server-2008