我尝试使用 SQL 命令:
SELECT *
FROM [demo].[SalesLT].[Address]
在我的 Azure 数据库中 http://vrcorpdatabase.database.windows.net从我的应用程序。它在.Net 平台上的 Visual Studio 中工作。我尝试在 Android Studio 中使用此 SQL 命令,但出现错误
Reference to database and/or server name in is not supported in this version of Sql Server.
这里可能出现什么问题?
最佳答案
我做到了。 Microsoft Azure SQL 不支持与 Android 的连接。我在 Azure 中创建了一个 Microsoft SQL Enterprise 虚拟机,并且我的应用程序运行良好。
关于java - 此版本的 sql server 不支持对数据库和/或服务器名称的引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51346655/