Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 7fa7367

Browse files
authored
Updating Sqltoolsservice and changing compat level to 130 (#121)
* Updating Sqltoolsservice and changing compat level to 130 when scripting azure. * Removing comment that does not apply.
1 parent 18c5b1e commit 7fa7367

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mssqlscripter/argparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,8 @@ def map_server_options(parameters):
508508
target_server_edition = parameters.TargetDatabaseEngineEdition
509509
# When targetting Azure, only the edition matters.
510510
if u'Azure' in target_server_version:
511-
# SMO ignores this value when it is targetting Azure.
512-
parameters.ScriptCompatibilityOption = u'Script105Compat'
511+
# SMO requires 120 compat or higher when scripting Azure or AzureDW.
512+
parameters.ScriptCompatibilityOption = u'Script130Compat'
513513
parameters.TargetDatabaseEngineEdition = azure_server_edition_map[
514514
target_server_version]
515515
parameters.TargetDatabaseEngineType = u'SqlAzure'

mssqltoolsservice/buildwheels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from urllib.request import urlopen
1818

1919

20-
DOWNLOAD_URL_BASE = 'https://mssqlscripter.blob.core.windows.net/sqltoolsservice-07-12-2017/'
20+
DOWNLOAD_URL_BASE = 'https://mssqlscripter.blob.core.windows.net/sqltoolsservice-07-26-2017/'
2121

2222
# Supported platform key's must match those in mssqlscript's setup.py.
2323
SUPPORTED_PLATFORMS = {

0 commit comments

Comments
 (0)