Ignore table DEFAULT constraints completely?
weswinkler
Posts: 54 New member
I know that SQL Compare provides options to ignore constraint and index names, and to ignore CHECK constraints.
But, is it possible to ignore all DEFAULT constraints on table columns?
I have some databases where the ONLY difference between several tables is the different value of a column DEFAULT. SQL Compare notes the differences and brings it to my attention.
Since I expect them and know about them, I'd like SQL Compare to ignore these differences. I'm willing to ignore ALL DEFAULT constraints to achieve this end.
Is it possible?
An excellent solution would be to ignore any DEFAULT constraints whose names fit a regular expression.
Thanks!!
But, is it possible to ignore all DEFAULT constraints on table columns?
I have some databases where the ONLY difference between several tables is the different value of a column DEFAULT. SQL Compare notes the differences and brings it to my attention.
Since I expect them and know about them, I'd like SQL Compare to ignore these differences. I'm willing to ignore ALL DEFAULT constraints to achieve this end.
Is it possible?
An excellent solution would be to ignore any DEFAULT constraints whose names fit a regular expression.
Thanks!!
Comments
We have got a feature request in to ignore column defaults: SC-4543. It may be implemented, depending on the feasability and amount of demand.