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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -