In MariaDB, the REGEXP_INSTR()
function returns the starting index of a substring that matches the regular expression pattern.
The index starts at 1
. If there’s no match, the result is 0
.
In MariaDB, the REGEXP_INSTR()
function returns the starting index of a substring that matches the regular expression pattern.
The index starts at 1
. If there’s no match, the result is 0
.
In MariaDB, NOT RLIKE
is a negation of the RLIKE
operator.
In other words, any time the RLIKE
operator would return 1
, NOT RLIKE
will return 0
.
In MariaDB, the RLIKE
operator is used to determine whether or not a string matches a regular expression. It’s a synonym for REGEXP
.
If the string matches the regular expression provided, the result is 1
, otherwise it’s 0
.
In MariaDB, the NOT REGEXP
operator is a negation of the REGEXP
operator.
If the string matches the regular expression provided, the result is 0
, otherwise it’s 1
. This is the opposite result to what the REGEXP
would return (when it isn’t prefixed with NOT
).
In MariaDB, the REGEXP
operator is used to determine whether or not a string matches a regular expression.
If the string matches the regular expression provided, the result is 1
, otherwise it’s 0
.
In MariaDB, UPDATEXML()
is a built-in function that replaces a single portion of a given fragment of XML markup with a new XML fragment, then returns the updated XML.
In MariaDB, WEIGHT_STRING()
is a built-in function that returns the weight string for the input string. The return value is a binary string that represents the comparison and sorting value of the string.
In MariaDB, UNCOMPRESSED_LENGTH()
is a built-in function that returns the length of a compressed string before it was compressed with the COMPRESS()
function.
In MariaDB, COMPRESS()
is a built-in function that compresses a string and returns the result as a binary string.
The COMPRESS()
function requires MariaDB to have been compiled with a compression library such as zlib. If MariaDB hasn’t been compiled with such a compression library, COMPRESS()
returns null
.
In MariaDB, UNCOMPRESS()
is a built-in function that uncompresses a string that’s been compressed by the COMPRESS()
function.