MariaDB Features Not Available in SQL Server

You are viewing an old version of this article. View the current version here.

Some MariaDB features are not available in SQL Server.

At a first glance, it is not important to know about those features to migrate from SQL Server to MariaDB. However, this is not the case. Using MariaDB features that are not in SQL Server allows one to obtain more advantages from the migration, getting the most from MariaDB.

This page has a list of MariaDB features that are not supported in SQL Server. The list is not exhaustive.

Plugin Architecture


  • The sql_mode variable determines in which cases an SQL statements should fail with an error, and in which cases it should succeed with a warning even if it is not entirely correct. For example, when a statement tries to insert a string in a column which is not big enough to contain it, it could fail, or it could insert a truncated string and emit a warning. It is a tradeoff between reliability and flexibility.
    • SQL_MODE=MSSQL allows to use a small subset of SQL Server proprietary syntax.
  • CREATE ... IF EXISTS, CREATE OR REPLACE, DROP ... IF NOT EXISTS options are supported for most DDL statements.
  • CHECKSUM TABLE statement.
  • PL/SQL support (only for stored procedures and stored functions).
  • Row constructors.
  • BEFORE triggers.
  • HANDLER statements, to scroll a table rows ordered by an index or in their physical order.
  • DO statement, to call functions without returning a result set.
  • BENCHMARK() function, to measure the speed of an SQL expression.




Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.