• You may want to look up SQLCMD in BOL as that would be a good place to start: http://msdn.microsoft.com/en-us/library/ms162773(v=sql.90).aspx.