Red Gate forums :: View topic - deploy script - drop and create only
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

deploy script - drop and create only

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ricva



Joined: 07 Aug 2012
Posts: 1

PostPosted: Mon Oct 29, 2012 5:46 pm    Post subject: deploy script - drop and create only Reply with quote

For our database we reload data and do not need to transfer data between a new table schema and the old. Is there a way to set the deployment script to just generate a drop and create statement instead of the "create temp table, copy data, drop and rename".

Thanks
_________________
Ric VA
Back to top
View user's profile Send private message
Manfred.Castro



Joined: 23 Apr 2012
Posts: 205

PostPosted: Wed Oct 31, 2012 7:11 pm    Post subject: Reply with quote

There is the option:
Use DROP and CREATE instead of ALTER
When this option is selected, SQL Compare replaces ALTER statements in the deployment script with DROP and CREATE statements for the following objects:
Views
Stored Procedures
Functions
Extended Properties
DDL Triggers
DML Triggers
This setting does not however apply to Tables
You can request features for this product in our uservoice forums.
http://redgate.uservoice.com/forums/141379-sql-compare-feature-suggestions
These forums are monitored by our developers and allow our users to request features and vote on them.
If a request receives significant support the feature may be included in a future release.
_________________
Manfred Castro
Product Support
Red Gate Software
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