Monday, August 24, 2009

VsDbCmd UI Utility – A User Interface for VsDbCmd to help with packaging and command line parameter overload

Benjamin Day Consulting, Inc.: The Blog - A User Interface for VsDbCmd: Deploy/Import Your Database Schema Without Installing Visual Studio 2008 Database Edition

“There’s an underappreciated feature in Visual Studio 2008 Database Edition (DbPro) and that’s VsDbCmd.exe.  If you’re using DbPro to manage your database schema during development, you’re doing it with Visual Studio installed on your desktop.  When you need to deploy changes to production, you do a Database Comparison between your project and your production database and DbPro generates an update script for you that publishes your changes to the production database. 

This works great if you can connect to your production database from your developer workstation.  What if you can’t connect from your developer workstation?  Do you need to install DbPro on the production machine? 

Thankfully, the answer is no.  This is where VsDbCmd.exe comes in.  VsDbCmd is a command-line tool that you can put on a USB thumb drive (or copy over the network) to a machine that does not have DbPro installed.  Once you’ve copied VsDbCmd to that machine, you have two very helpful features:

But there’s a catch.  You’ve got to package up a handful of files that VsDbCmd needs to run.  This step is a little confusing and tedious. Once you get everything packaged up and copied over to your database machine, you have to remember the command-line syntax for doing your Import or Deploy.  Not that hard but there’s some hunting around and tweeking required to get it right.

It would be nice if there were a user interface for VsDbCmd, huh?  Well, I wrote one!  (You’re welcome. <grin />)

image_2

Summary

VsDbCmd is a great feature in Visual Studio 2008 Database Edition.  Hopefully, this UI will make it easier for you to use it so that you can manage your database schema development and deployment just like the rest of your software development efforts.

…”

Sometimes you just need a little clicky…

This is cool for those who don’t live in Data Data day in and out. Also interesting that it’s deployed as a Click-once application…

 

Related Past Post XRef:
VSDB 2008 GDR R2 Released or DataDude for 2008 GDR++ RTM’ed or Latest and coolest version of Data Dude now available
Data Dude Day – After spending some quality time with VSTS Database Professional Edition yesterday I have to say, it’s that time, it’s Data Dude Time.
Data Dude Updated for SQL Server 2008 – VSTS 2008 Database Edition GDR RTW’s (Think “VSTS 2008 Data Dude SP1++”)
Data Dude and Developer – Together at Last! (Now for Software Assurance customers at least and a real merge in VSTS2010)
Real World Data Dude - 17 minute video of using VS2008 Database Edition in the Real World
Team Build with Data Dude
Visual Studio Team System 2008 Database Edition Power Tools Released (Think VS2008 + Bunch o' New Features)
Data Dude (aka "Visual Studio Team Edition for Database Professionals") and TeamBuild
Visual Studio Team Edition for Database Professionals [aka Data Dude] Samples CodePlex Project
VSTE4DBPro (Data Dude) for VS2005 Team Suite Users
"VSTE4DBP" aka "VS For DB Pro's" aka "Data Dude" aka "Visual Studio Team Edition for Database Professionals - DVD (English)" now on MSDN Downloads...
"Data Dude" - Visual Studio Team Edition for Database Professionals RTM's 11/30
Tips for Installing the VSTE 4 DBPro CTP
Visual Studio Team Edition for Database Professionals CTP Released
Visual Studio 2005 Team Edition for Database Professionals

2 comments:

garwin4j said...

Hello,

could you update this for Visual Studio 10.0 (2010). I get a fileNotFoundException, I also think it might have to do with the fact that I am running Window x64bit.

Thanks in advance.

God Bless!

Greg said...

@garwin4j; I'm just the one who found this project, thought it cool and highlighted it on my blog... I'm not the actual author.

Best bet would be to click through to the original post and contact the author directly...


Thanks