DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > IBM Db2 vs. Microsoft SQL Server

System Properties Comparison IBM Db2 vs. Microsoft SQL Server

Please select another system to include it in the comparison.

Our visitors often compare IBM Db2 and Microsoft SQL Server with Oracle, PostgreSQL and MySQL.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxMicrosofts flagship relational DBMS
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score126.40
Rank#8  Overall
#6  Relational DBMS
Score774.89
Rank#3  Overall
#3  Relational DBMS
Websitewww.ibm.com/­products/­db2www.microsoft.com/­en-us/­sql-server
Technical documentationwww.ibm.com/­docs/­en/­db2learn.microsoft.com/­en-US/­sql/­sql-server
DeveloperIBMMicrosoft
Initial release1983 infohost version1989
Current release12.1, October 2016SQL Server 2022, November 2022
License infoCommercial or Open Sourcecommercial infofree version is availablecommercial inforestricted free version is available
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
SQLServer Flex @ STACKIT offers a managed version of SQL Server with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
Implementation languageC and C++C++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.yes
Secondary indexesyesyes
SQL infoSupport of SQLyesyes
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
Server-side scripts infoStored proceduresyesTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Java
Triggersyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versiontables can be distributed across several files (horizontal partitioning); sharding through federation
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)yes, but depending on the SQL-Server Edition
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft SQL Server
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

DBAs deserve better: Moving beyond scripts and dashboards
28 April 2025, IBM

IBM Db2 Modernizes With New AI-Powered Database Assistant
13 November 2024, Forbes

Authenticate Amazon RDS for Db2 instances using on-premises Microsoft Active Directory and Kerberos
16 December 2024, Amazon Web Services (AWS)

PHP Database Programming with DB2
7 November 2024, SitePoint

Db2 is a story worth telling, even if IBM won't
4 July 2024, theregister.com

provided by Google News

Why SQL Server Is Still Worth It
24 March 2025, Redmondmag.com

The year ahead for SQL Server: Ground to cloud to fabric
15 January 2025, Microsoft

SQL Server 2019 installation for Lab
27 January 2025, Spiceworks Community

How to Recover Deleted Data from SQL Server without Backup
22 April 2025, Infosecurity Magazine

Ola Hallengren’s SQL Server Maintenance Solution in AWS
8 March 2025, Amazon Web Services (AWS)

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here