We’ve put together this FAQ to help you navigate through the SQL Server 2022 licensing options and to answer some of the most common questions related to SQL licensing in different deployment scenarios.
What editions are available with SQL Server 2022?
What licensing options are available for SQL Server 2022?
How to license a SQL server under the Per Core license model?
How to license a SQL server using the Server + CAL license model?
How to license a container running SQL Server software?
As with previous versions of SQL Server, SQL Server 2022 is offered in the following editions:
For more information check the following pages:
SQL Server 2022 editions datasheet
Editions and supported features of SQL Server 2022
Deployment options, licensing, and feature differences in SQL Server 2022
The following licensing options are available through a number of MS licensing agreements and programs:
There are two main license models that apply to SQL server:
Newly acquired SQL Server Enterprise Edition licenses support only the Per Core model. SQL Server Standard Edition can be licensed either under the Per Core model or under the Server + CAL model. CAL stands for Client Access License. Core licenses are sold in packs of two. That is, one SKU, called 2 core pack, contains two core licenses.
SQL Server Web Edition is only available through hosting providers with Microsoft Service Provider License Agreements (SPLA).
SQL Server Developer Edition and SQL Server Express Edition do not require a paid license.
SQL Server licenses are platform agnostic and permit deployment and use on Windows or Linux systems.
Software Assurance (SA) is a software support offering available through the Volume Licensing programs. SA is purchased together with the base license and must be renewed on a periodic basis to remain active. Software Subscription licenses acquired under a Microsoft Server and Cloud Enrollment (SCE) or Microsoft Products and Services Agreement (MPSA) provide the same SA rights and benefits during the term of the Subscription as licenses with SA coverage. Software Assurance Benefits are not available to Microsoft Customer Agreement or Microsoft Cloud Agreement customers.
SQL Server SA benefits include:
For the complete list of Software Assurance benefits check the following pages:
Software Assurance
Software Assurance Product Terms
Microsoft Azure Product Terms
Under the Per Core license model, each server running SQL Server or any of its components must be assigned an appropriate number of core licenses. The number of required licenses can be determined either by the total number of physical CPU cores on the server, or based on the number of virtual cores allocated to individual VMs running SQL Server software.
Note: The option to license SQL Server 2022 by virtual cores allocated to a virtual machine is only available for subscription licenses or licenses with Software Assurance.
With the Per Core model, client access licenses (CALs) are not required and there is no limit to the number of connecting users or devices.
To license SQL Server Enterprise Edition or SQL Server Standard Edition software by physical cores, all physical cores on the server must be licensed with the respective SQL Server Core licenses. A minimum of four core licenses is required for each physical processor on the server.
For example:
If all physical cores on a server are licensed with SQL Server Enterprise Edition Core licenses, customers can run SQL Server software in a number of operating system environments (physical and/or virtual) equal to the number of core licenses assigned to the server. In such configuration there are no restrictions on the number of virtual cores (vCPUs) that can be allocated to each OSE/VM. Also, there is no limit to the number of SQL instances running on a licensed server.
Additional SQL Server Enterprise Edition Core licenses can be assigned to a fully licensed server to increase the maximum number of VMs (virtual OSEs) permitted to run SQL Server software. Each additional core license allows deployment of SQL Server software in one additional VM.
Maximum virtualization can be achieved via the Software Assurance Unlimited Virtualization benefit. Customers are permitted to run any number of instances of SQL Server software in an unlimited number of VMs on a server with all physical cores fully licensed with SQL Server Enterprise Edition Core subscription licenses or licenses with Software Assurance.
If all physical cores on a server are licensed with SQL Server Standard Edition Core licenses, customers can run any number of SQL instances only in the physical OSE on the licensed server.
To license an individual VM with SQL Server Enterprise Edition or SQL Server Standard Edition Core licenses, all virtual cores (v-cores, virtual processors, virtual CPUs) allocated to the VM must be licensed with the corresponding SQL Server Core subscription licenses or licenses with Software Assurance, subject to a minimum of four core licenses per VM.
For example:
Additional core licenses are required if any of the virtual cores in a VM is mapped to more than one hardware thread.
There is no limit to the number of SQL instances running in a licensed VM.
For more information about the SQL Server Per Core license model see the Microsoft SQL Server 2022 Licensing guide.
The Server + CAL license model is applicable to SQL Server Standard Edition only.
Note: The right to use SQL Server in a virtual machine under the Server + CAL license model does not require subscription licenses or licenses with Software Assurance.
In order to license SQL Server Standard Edition software under the Server + CAL license model, customers need to purchase a Server license for each operating system environment (physical server or VM) and a client access license (CAL) for each user (User CAL) and/or device (Device CAL) accessing SQL server or any of its components. A Device CAL is required for every device not operated by humans. For human operated devices, such as PCs, mobile phones, hand-held terminals, User CALs or Device CALs can be used. A single CAL permits access to any number of licensed SQL servers of the same or earlier version.
SQL Server CALs are required for all users or devices that input data into, query, or view data from a SQL Server database either directly or indirectly (through a pooling device, an intermediary system or product, a web-based application, etc.). Such technique of aggregating or pooling connections to a SQL server is defined as "multiplexing". Multiplexing does not reduce the number of CALs required. To learn more about multiplexing and its impact on SQL Server licensing see the Multiplexing Overview doc. In situations where users or devices can not be accurately counted the Per Core license model should be used.
CALs are not required for access by another licensed SQL servers. CALs allow access to server software running on customer's servers only.
If a SQL server/VM is licensed with a subscription license or a license with active Software Assurance, then all CALs used to access the server must also be acquired as subscription licenses or have active Software Assurance.
When licensing VMs under the Server + CAL license model, the number of virtual or physical cores has no affect on the number of Server licenses required. For each Server license, customers may run any number of SQL instances in only one operating system environment (physical or virtual).
More details about the Server + CAL license model can be found in the Microsoft SQL Server 2022 Licensing guide.
All rules and conditions applicable to VMs under the Per Core and Server + CAL license models are applicable to containers with the following considerations:
The Product Terms document defines a hardware thread as either a physical core or a hyper-thread in a physical processor. When licensing a container under the Per Core license model, customers must assign a Core license for each hardware thread mapped to the container, subject to a minimum of four licenses per container.
Customers may also take advantage of the SA Unlimited Containers benefit by licensing a VM (virtual OSE) by virtual core with Enterprise or Standard Core subscription licenses or licenses with active Software Assurance (Option to license by virtual machine). Such configuration allows to run any number of instances of SQL Server software in any number of containers in a licensed VM. When electing this benefit, a container is not considered to be a VM/virtual OSE.
Additional information about licensing SQL Server in containers, including examples of different licensing scenarios can be found in the Microsoft SQL Server 2022 Licensing guide.
Any VM or operating system environment (OSE) running any of the licensed SQL Server components must be fully licensed. A single SQL licenses cannot be separated to license individual SQL Server components installed on different VMs/OSEs.
The list of licensed components includes:
Management tools and other software identified as Additional Software in the Product Terms can be generally distributed and run on any number of devices for use with a licensed instance of SQL Server software.
Before exploring license mobility benefits, let's first review a few important definitions from the Product Terms:
Without Software Assurance (SA) coverage the following outsourcing software management and license assignment/reassignment rules apply:
With Software Assurance customers can take advantage of the following mobility-related benefits:
With License Mobility Across Server Farms customers can reassign SQL Server licenses to different servers within a Server Farm as often as needed. Customers may also reassign these licenses from one Server Farm to another, but not on a short-term basis (i.e., not within 90 days of the last assignment).
With License Mobility through Software Assurance customers can reassign SQL Server licenses to shared servers only with Microsoft Azure Services or qualified License Mobility through Software Assurance Partner. The License Mobility Verification Form must be completed and submitted with each License Mobility through Software Assurance Partner providing shared servers.
License Mobility through Software Assurance rights also apply to Listed Providers' dedicated servers/hosts, with the same terms and conditions.
Customers may move SQL Server licenses from shared servers back to on-premise servers or to another party's shared servers, but not on a short term basis (not within 90 days of the last assignment). Customers are also permitted to move licensed VMs/OSEs from shared servers in one Server Farm to shared servers in another Server Farm, but not on a short-term basis (not within 90 days of the last assignment).
For each SQL Server Core license with active SA coverage, customers can use one virtual core in a VM/OSE deployed on a shared server infrastructure, subject to a minimum of 4 core licenses per VM/OSE.
For each Server license (under Server + CAL license model) with active SA coverage, customers can deploy one VM (OSE) on a shared server infrastructure. In this scenario SQL Server CALs must have active SA coverage as well.
For more information see the License Mobility through Microsoft Software Assurance Guide.
With Flexible Virtualization customers with subscription licenses or licenses with active SA may use licensed copies of the software on dedicated and/or shared servers that are under the day-to-day management and control of Authorized Outsourcers.
The Flexible Virtualization Benefit is different from License Mobility through Software Assurance in that it does not require customers to use only Authorized Mobility Partners and permits deployment to shared servers from any Authorized Outsourcer. Furthermore, customers are not required to fill out the License Mobility Verification Form.
For more details see the Flexible Virtualization Benefit Licensing Guide.
With the Azure Hybrid Benefit for SQL Server customers may move SQL Server subscription Core licenses or Core licenses with active SA to Azure and consume the following Azure SQL Services at a discount (comparing to standard pay-as-you-go rates):
The number of vCores that can be used on Azure for each SQL Server Core license (Ratio of Qualified Licenses to Azure vCores) depends on the tier of Azure SQL services and SQL Server edition. For example:
For the complete license conversion table see the Microsoft Azure Product Terms.
Azure Hybrid Benefit also applies to Azure Dedicated Host.
Additionally, it provides 180 days of dual-use rights (on-premises or third-party cloud, and in Azure) to allow for data migration.
When using SQL Server on Azure under Azure Hybrid Benefit rights, customers should indicate such use through the Azure portal or with the Azure command line APIs.
As per the SQL Server 2022 pricing page the approximate costs for different license types are as follows (in US$):
Core licenses are sold in packs of two. That is, one SKU, called 2 core pack, contains two core licenses.
The yearly Software Assurance cost can be estimated at 25% of the base license cost.