Creating More than one Database into Azure Sql Database

pdsqsql 436 Reputation points
2026-10-20T19:19:01.0033333+00:00

Hello,

We have earlier created Azure Sql Server Database and we are trying to add one more database which is ok to have it?

EX.

Server: sqldb-mfr-test.database.windows.net

Database: sqldb-mfr-test

Now we wanted to add another database like "sqldb-mfr-qa" into same Subscription, Same Resource Group under same server "sqldb-mfr-test.database.windows.net"

Should be fine, right?

Any other suggestion please?

Azure SQL Database
0 comments No comments

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 138.3K Reputation points MVP Volunteer Moderator
    2026-10-20T21:08:16.36+00:00

    You can have as many databases as you want on Azure SQL Server. Well, there probably is a limit, but it is a lot more than two. The one to keep in mind that the "Server" in this context is purely logical. The databases on the server are likely to be running on completely physical servers.

    Was this answer helpful?


  2. AI answer

    2026-10-20T19:19:40.56+00:00

    Yes, create sqldb-mfr-qa as a second Azure SQL Database under the existing logical server sqldb-mfr-test.database.windows.net.

    Create the database

    1. In the Azure portal, open SQL databases.
    2. Select Create.
    3. Choose the existing:
      • Subscription
      • Resource group
      • Server: sqldb-mfr-test
    4. Enter Database name: sqldb-mfr-qa.
    5. Select the required compute and storage configuration, or choose an existing elastic pool.
    6. Select Review + create, then Create.

    An Azure SQL logical server is specifically designed as the parent and administrative container for multiple databases. It supplies their common connection endpoint and server-level management settings.^1^

    Applications connect to the same server endpoint but specify different database names:

    Server=tcp:sqldb-mfr-test.database.windows.net,1433;
    Initial Catalog=sqldb-mfr-qa;
    Authentication=Active Directory Default;
    Encrypt=True;
    

    Important design considerations

    • Capacity: A logical server supports up to 5,000 databases, subject to subscription and regional compute quotas. Two databases are well within that limit.^2^
    • Compute and cost: If both are single databases, each has its own service tier, compute allocation, storage configuration, and associated cost.^3^
    • Elastic pool option: If test and QA have intermittent or unpredictable usage, consider placing them in an elastic pool. Databases in a pool share an allocated set of compute resources, which can reduce costs compared with independently provisioned databases.^4^
    • Server-scoped configuration: Firewall rules, auditing, threat-detection policies, logins, and some other management policies are scoped to the logical server. Review whether test and QA should share those settings.^1^
    • Permissions: Users do not automatically receive equivalent database-level permissions in the new database. Create or map the required contained users and grant appropriate roles in sqldb-mfr-qa.
    • Lifecycle isolation: Deleting the logical server deletes all databases and elastic pools beneath it. Add an Azure resource delete lock to the server or resource group if accidental deletion is a concern.^5^

    Using the same logical server is appropriate when test and QA can share the same region, network boundary, server administration, and server-scoped policies. Use separate logical servers when the environments require independent firewall rules, administrators, regional placement, auditing policies, quotas, or lifecycle boundaries.


    References

    1. What is a logical server in Azure SQL Database?
    2. Resource management in Azure SQL Database
    3. What is a single database in Azure SQL Database?
    4. What is Azure SQL Database?
    5. Resource management in dense elastic pools
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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