Menu

Articles

For side-by-side syntax and behavior across database engines, browse the cross-database SQL comparison guides.

How the RELEASE_LOCK() function works in Mariadb?

The RELEASE_LOCK() function in MariaDB is used to release a user-level lock that was acquired with the GET_LOCK() function.

How the DATABASE() function works in Mariadb?

The DATABASE() function is a built-in function in Mariadb that returns the name of the current database. This function is often used to get the context of the current session or query.

How the GeometryCollectionFromWKB() function works in Mariadb?

The GeometryCollectionFromWKB() function is a spatial function that creates a geometry collection from a well-known binary (WKB) representation.

How the INSTR() function works in Mariadb?

The INSTR() function is a string function that returns the position of the first occurrence of a substring in a string.

How the CURTIME() function works in Mariadb?

The CURTIME() function is a built-in function in Mariadb that returns the current time as a time value. This function is often used to get the current time of the server or the session.

How the GeometryCollectionFromText() function works in Mariadb?

The GeometryCollectionFromText() function is a spatial function that creates a geometry collection from a well-known text (WKT) representation.

How the INSERT() function works in Mariadb?

The INSERT() function is a string function that replaces a substring of a string with another string.

How the GEOMETRYCOLLECTION() function works in Mariadb?

The MariaDB GEOMETRYCOLLECTION() function is used to create a geometry collection object from a set of individual geometry objects.

How the INET6_NTOA() function works in Mariadb?

The INET6_NTOA() function is a string function that converts a binary value to an IPv6 address in standard notation.

MariaDB CURRENT_USER(): Account and Privileges

See which MariaDB account CURRENT_USER() returns, compare it with USER(), and understand its DEFINER behavior in stored procedures.