How can I ignore a column default constraint?
hinsona
Posts: 14 Bronze 1
I am using SQL Compare 13.7.16.11325 Std.
I have a specific default constraint that is different in every copy of our databases - of which I currently have 50+ and growing.
I see there's a way to ignore constraint and index names, and system generated constraint and index names. However, it would be nice if there was a way to ignore constraints by the name of the column they affect or a partial constraint name.
Is this possible?
Edit: Maybe this can be done using filtering? There is a "default" filter object type, but after some experimentation it doesn't seem to do what I want. It's possible that I'm not using it correctly - yesterday was the first time I've used it.
Thanks.
I have a specific default constraint that is different in every copy of our databases - of which I currently have 50+ and growing.
I see there's a way to ignore constraint and index names, and system generated constraint and index names. However, it would be nice if there was a way to ignore constraints by the name of the column they affect or a partial constraint name.
Is this possible?
Edit: Maybe this can be done using filtering? There is a "default" filter object type, but after some experimentation it doesn't seem to do what I want. It's possible that I'm not using it correctly - yesterday was the first time I've used it.
Thanks.
Tagged:
Best Answer
-
Tianjiao_Li Posts: 684 Rose Gold 5Unfortunately what you are asking is not possible and it can't be achieved using filter either as filters only apply at the object/table level.
Can you please leave it on our user voice forum? https://redgate.uservoice.com/forums/141379-sql-compare
Answers
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints
https://redgate.uservoice.com/forums/141379-sql-compare/suggestions/3463480-ignore-default-x-column-constraints