Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #19720 single parenthesis defaults #19745

Merged
merged 1 commit into from
Feb 7, 2020
Merged

Fixes #19720 single parenthesis defaults #19745

merged 1 commit into from
Feb 7, 2020

Conversation

mikes-gh
Copy link
Contributor

@mikes-gh mikes-gh commented Jan 30, 2020

Allows DEFAULT with single or double parenthesis to remove unnecessary HasDefaultValueSql

  • It appears that schemas generated with older version of SSMS tools or DDL commands have produced defaults in the format
    e.g. DEFAULT (0)
  • Modern tools always generate DEFAULT ((0))
  • It seems inexpensive to test for legacy schema DEFAULT (0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants