简体   繁体   English

SQL的变种什么呢MariaDB的使用?

[英]What variant of SQL does MariaDB use?

It's typical for a Relational Database Management System to use a specific variant of SQL.关系数据库管理系统通常使用 SQL 的特定变体。 For example, SQL Server uses Transact-SQL aka T-SQL.例如,SQL Server 使用 Transact-SQL 又名 T-SQL。

I understand MariaDB is based on MySQL (the RDBMS), and the SQL variant that MySQL uses is apparently itself also called MySQL (according to this question ).我知道 MariaDB 基于 MySQL(RDBMS),而 MySQL 使用的 SQL 变体显然本身也称为 MySQL(根据这个问题)。 Should I assume MariaDB also uses the MySQL language?我应该假设 MariaDB 也使用 MySQL 语言吗?

I have tried several Google searches, but I've found nothing.我尝试了几次 Google 搜索,但一无所获。 It's tricky because of the conflation between the RDBMS and the language.由于 RDBMS 和语言之间的混淆,这很棘手。 Most results are just comparing MariaDB with MySQL (the RDBMS).大多数结果只是将 MariaDB 与 MySQL(RDBMS)进行比较。

MariaDB does indeed use the same SQL dialect as MySQL. MariaDB的确实使用相同的SQL方言为MySQL的。

But, later versions of MariaDB have extra features, which show up mostly as settings and functions in the query language.但是,MariaDB的更新版本有额外的功能,它主要出现在查询语言设置和功能。 The MariaDB team's list of differences is here: https://mariadb.com/kb/en/library/mariadb-vs-mysql-features/该MariaDB的团队的分歧名单是在这里: https://mariadb.com/kb/en/library/mariadb-vs-mysql-features/

The big ones, from my personal perspective, mostly in MariaDB 10.2 and later.是大的,从我个人角度来说,主要是在MariaDB的10.2及更高版本。

Before MySQL 8, MariaDb had some capabilities absent in MySQL. MySQL的8之前,MariaDB的有一些能力缺席在MySQL。 These are all in MySQL 8+这些都是在MySQL 8+

MySQL Version 8 has better versions of REGEXP_REPLACE() and REXEXP_SUBSTR() than MariaDb's versions of the two . MySQL的版本8有更好的版本的REGEXP_REPLACE()REXEXP_SUBSTR()比MariaDB的的版本2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM