totn MariaDB Functions

MariaDB: VERSION Function

This MariaDB tutorial explains how to use the MariaDB VERSION function with syntax and examples.

Description

The MariaDB VERSION function returns the version of the MariaDB database.

Syntax

The syntax for the VERSION function in MariaDB is:

VERSION( )

Parameters or Arguments

There are no parameters or arguments for the VERSION function in MariaDB.

Applies To

The VERSION function can be used in the following versions of MariaDB:

  • MariaDB 10

Example

Let's look at some MariaDB VERSION function examples and explore how to use the VERSION function in MariaDB.

For example:

SELECT VERSION();

Since the VERSION function returns the version of the MariaDB database, it might display something like this:

SELECT VERSION();
Result: '10.0.14-MariaDB-1~trusty-log'