How can we help you today? How can we help you today?

Ignore extra brackets in DEFAULT clause

At the moment all the tables in one database are being flagged as changed, because there is an extra set of braces around the default clause (no idea why).  Is there an option to suppress this? I'm on 7.0.48.9916.
e.g.
[HashValue] [binary] (16) NOT NULL CONSTRAINT [DF__tbllkaudi__HashV__0DC01A38] DEFAULT (0x00),
[HashValue] [binary] (16) NOT NULL CONSTRAINT [DF__tbllkaudi__HashV__0DC01A38] DEFAULT ((0x00)),

Thanks

Arnold
0

Comments

3 comments

  • Sergio R
    There isn't an option to ignore those double brackets.
    Just to confirm, the double brackets are on the database side and not on the repository?
    Sergio R
    0
  • ArnoldLieberman
    It looks like the double brackets are in the repository.
    ArnoldLieberman
    0
  • Sergio R
    OK, because it would be strange if SQL Source Control scripted it that way. I suspect that the file in the repository was edited possibly by another application.
    Looking at the version history for the files in the repository might shed some light regarding this.
    Reverting the file in the repository should allow you to workaround the issue.
    Sergio R
    0

Add comment

Please sign in to leave a comment.