如何知道SQL Server是在云端还是在本地? [英] How to know if SQL Server is in the cloud or on premises?

查看:61
本文介绍了如何知道SQL Server是在云端还是在本地?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近加入了新工作,他们正在使用Azure SQL Server.最初我不知道SQL Server在Azure中.我想知道如何知道SQL Server是在Azure中还是在本地中?

I recently joined in new job, they are using Azure SQL Server. Initially I don't know that SQL Server is in Azure. I am wondering how can I know whether SQL Server is in Azure or on premises?

推荐答案

执行查询:

SELECT @@VERSION

结果将告诉您是否正在使用Azure SQL数据库或任何其他版本/版本

The result will tell you if you are using Azure SQL Database or any other version/edition

**如果您在谈论Azure上的虚拟机上的SQL Server,那么这与本地版本/版本相同

** If you are talking about SQL Server on Virtual machine in the azure, then this is the same as local version/edition

这篇关于如何知道SQL Server是在云端还是在本地?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆