What is the difference between SQL Server and SQL Database?

  • I created a SQL Database in Azure Portal but I've just noticed it also created SQL Server. Do I need both? The reason I'm asking is because I'm being charged for SQL Server.

     

     

    Attachments:
    You must be logged in to view attached files.
  • You can have different kinds of SQL Server in Azure ( forum doesn't like links anymore, you can look up the different flavors)

    Azure SQL Database (SAAS): no extra sql server billed

    Azure SQL Managed instance: haven't used it

    SQL Server running in a VM in Azure (PAAS): certainly get billed for the sql server license (unless you have one "migrated"

  • When you create an Azure SQL Database, you also get a "server." However, it's not a server like if you were running on hardware or a VM. It's simply a management tool for setting up permissions and other stuff like that. It uses the name "server" but it very much is not. You can place more than one database within that "server" though, but remember, you're doing it because of security management, etc., not because it's literally a container for the databases like a server running on a VM.

    Hope that helps.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply