tsql - How to update table using schema compare while data is in table? -


using visual studio enterprise 2015

i use schema compare update bunch of table changes test environment local one.

i'm getting error:

rows detected. schema update terminating because data loss might occur.

so saying have data in tables want update , lose data if made table changes. i'm going data compare afterward updated data well. how can override above error , force changes? or have truncate tables data in them first?

thank in advance

i found answer in settings.

click on options cog wheel that's next compare , update buttons.

next click on general tab , uncheck "block on possible data loss"

enter image description here

hope helps in future.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -