Red Gate forums :: View topic - command line project and synchronize switch
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Compare Previous Versions
SQL Data Compare Previous Versions forum

command line project and synchronize switch

Search in SQL Data Compare Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
shuff



Joined: 26 Nov 2007
Posts: 17

PostPosted: Thu Dec 01, 2011 8:46 pm    Post subject: command line project and synchronize switch Reply with quote

When using the command line project and synchronize switch -- you get the message "Generating SQL scripts" ..... where does this script get generated? I know if I do it via the interface the script goes into My Documents\SQL Data Compare\SQL Scripts .... but I don't see it via the command line. I want to make sure the script gets deleted because it's HUGE. Thanks.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1121
Location: My desk.

PostPosted: Thu Dec 01, 2011 9:27 pm    Post subject: Reply with quote

Hi,

The script in the GUI is only saved when you actually save it, and the path you mention is the default location.
When using the command-line you use the /ScriptFile switch to specify the path/filename to save.
You can also use the /sync switch to synchronise the changes directly; but it should remove any temporary files afterwards.

See here for details on switches: http://www.red-gate.com/supportcenter/Content/SQL_Data_Compare/help/9.0/SDC_CL_Switches

If you want to specify a bigger drive for temp files, you can create an environment variable called RGTEMP and set that to the path you wish to use.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group