MS SQL – ScriptDB tool

Description :
ScriptDb is a simple console app written in C# that uses SQL Management Objects (SMO) to script all the objects in a database.

Running this console appl. with following parameters will generate the SQL scripts for Tables and Views.

scriptdb.exe -con:server=(local);
-outDir:D:\ScriptDB\scripts -v –p


The version posted on is only against MS SQL version 2000 – 2005.

But someone upgrade the source for MS SQL 2008 ! – 2008 version DotNet 4.0 needed.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: