查询 Analysis Services 的服务器版本信息,是否有任何明确的方法可以确定您访问的服务器是 Azure Analysis Services 托管服务还是您访问的是在 Azure 中的 VM 上运行的 SQL Server Analysis Services数据中心?我找不到版本列表或任何其他文档来帮助我了解我正在与哪个后端交谈。
最佳答案
选项 1
如果您有办法查看连接字符串,Azure Analysis Services 实例将以 asazure:
关键字开头。
protocol://region/servername
where protocol is string asazure or link when using a server name alias, region is the Uri where the server was created (for example, westus.asazure.windows.net), and servername is the name of your unique server within the region.
选项 2
我们可以使用 DMV 查询来获取版本号:
从 $SYSTEM.DISCOVER_PROPERTIES 中选择*
DBMSVersion 属性就是其中之一。但是,我也找不到 Azure Analysis Services 版本的官方列表。
将其与本地版本列表进行比较,看起来任何具有 15.1.xx 的版本都看起来是 Azure Analysis Services。 15.0.xx 是 2019 年本地分析服务。
当查询我们的 Azure Analysis Services 实例时,我得到:15.1.114.22
此处的 SSAS 版本列表: https://www.sqlserverversions.com/2019/09/sql-server-analysis-services-ssas.html
关于azure - 用于区分 Azure Analysis Services 和 SQL Server Analysis Services 的查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70011096/