Activity overview
Latest activity by Jatin
The below code is working..yes there were some commands missing.
sqlCompareCredentials = /db1:WidgetStaging /db2:WidgetProduction
/scriptFile: "C:\Scripts Folder\WidgetSyncScript.sql" /force";
command = "sqlcompare " + sqlCompareCredentials;
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.WorkingDirectory = sqlCompareDir;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C " + command;
startInfo.Verb = "runas";
process.StartInfo = startInfo;
process.Start(); / comments
The below code is working..yes there were some commands missing.
sqlCompareCredentials = /db1:WidgetStaging /db2:WidgetProduction
/scriptFile: "C:\Scripts Folder\WidgetSyncScript.sql" /force";
comm...
The question is resolved now !! / comments
The question is resolved now !!
Creating a single large deployment script using c#
Hi,
i am trying to achieve something very similar mentioned in :http://www.red-gate.com/MessageBoard/vi ... hp?t=19792
But that was is command line, the same when i used in the c# code it is not cr...