Project Description
The DBScirpterCmd is a command line tool to script database objects to separate SQL files. An interesting usage is with an automation tool, such as NAnt or FinalBuilder, to automatically script database objects and check in to source control system.
At present this program supports SQL Server 2005, 2008 and 2012, and database objects: table, stored procedure, view, user defined function and user defined aggregate.
SQL Server 2008 Management Objects and .Net Framework 4.5.1 is required to run this program.
USAGE:
DBScripterCmd.exe <server> <uername> <password> <database> <output folder> [a][f][s][t][v]
where
a User Defined Aggregate
f User Defined Function
s Stored Procedure
t Table
v view
Empty All
EXAMPLE:
DBScripterCmd.exe localhost sa test AdventureWorks2008R2 "d:\output"