Azure SQLAAS does not support the ‘Use Statement’

SWB Support 31 Reputation points
2022-09-01T21:31:10.36+00:00

We are using an application with Azure SQLAAS and the application vendor is advising this will not work as Azure SQLAAS does not support ‘Use Statements’. Is there any method to achieve this or will we need to set up a separate vm running SQL?

Azure SQL Database
0 comments No comments
{count} vote

Accepted answer
  1. Alberto Morillo 34,356 Reputation points MVP
    2022-09-02T01:13:07.043+00:00

    The USE statement is not supported on Azure SQL Database. If the application is not created in-house as you mentioned then my suggestion is to go to Azure SQL Managed Instance the only PaaS database option that supports the USE statement or instead setup a separate SQL Server VM (IaaS) for the databases the application uses.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.