| Author |
Message |
ehuggz
Joined: 14 Aug 2012 Posts: 7 Location: South Bend, IN
|
Posted: Tue Feb 26, 2013 8:22 pm Post subject: NOCHECK Constraint in Compare but not in Source Control |
|
|
I am using both Source Control and Schema Compare to manage migrations from Development to UAT. Source Control displays very few changes, while Compare shows a lot of changes to constraings with "NOCHECK" the only difference between the entries.
| Code: |
| ALTER TABLE [dbo].[CMS_CssStylesheetSite] WITH |
NOCHECK [code]ADD CONSTRAINT [FK_CMS_CssStylesheetSite_StylesheetID_CMS_CssStylesheet] FOREIGN KEY ([StylesheetID]) REFERENCES [dbo].[CMS_CssStylesheet] ([StylesheetID])
Is there a setting in Compare that will produce the same results as in Source Control? _________________ Eric Huggins | Continuous Integration Manager
Pinnacle of Indiana |
|
| Back to top |
|
 |
David Atkinson
Joined: 05 Dec 2005 Posts: 1079
|
Posted: Tue Feb 26, 2013 9:31 pm Post subject: |
|
|
Try:
Edit Project, Options, and select Ignore/With NOCHECK
Hope this helps.
(or you can equally change SQL Source Control to behave like SQL Compare) |
|
| Back to top |
|
 |
ehuggz
Joined: 14 Aug 2012 Posts: 7 Location: South Bend, IN
|
Posted: Tue Feb 26, 2013 10:51 pm Post subject: Thank you |
|
|
Saved me a lot of digging, even if it should be obvious.
Thank you! _________________ Eric Huggins | Continuous Integration Manager
Pinnacle of Indiana |
|
| Back to top |
|
 |
|
|
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