This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change 1717from 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.
2323SUPPORTED_PLATFORMS = {
You can’t perform that action at this time.
0 commit comments