Skip to content

Fix for sp_dboption in northwind-pubs if sqlversion>=12#480

Merged
jovanpop-msft merged 1 commit intomicrosoft:masterfrom
artyl:master
Nov 5, 2018
Merged

Fix for sp_dboption in northwind-pubs if sqlversion>=12#480
jovanpop-msft merged 1 commit intomicrosoft:masterfrom
artyl:master

Conversation

@artyl
Copy link
Copy Markdown

@artyl artyl commented Nov 2, 2018

sp_dboption was discontinued in SQL Server 2012.
I add check sql version and call alter database instead sp_dboption if ProductMajorVersion>=12

@msftclas
Copy link
Copy Markdown

msftclas commented Nov 2, 2018

CLA assistant check
All CLA requirements met.

@jovanpop-msft jovanpop-msft merged commit e5c6807 into microsoft:master Nov 5, 2018
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.

3 participants