Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (171)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (300)

Tag: functions

How DATE_ADD() Works in MariaDB

Posted on May 1, 2021May 2, 2021 by Ian

In MariaDB, DATE_ADD() is a built-in date and time function that performs date arithmetic.

It allows you to change a date by specifying the date, the unit to add, and the amount to add. You can pass a negative amount if you need to subtract the date by a certain interval.

Continue reading →
MariaDB date functions, functions, what is

How REGEXP_REPLACE() Works in MariaDB

Posted on April 29, 2021July 26, 2021 by Ian

In MariaDB, the REGEXP_REPLACE() function replaces occurrences of the substring within a string that matches the given regular expression pattern.

The whole string is returned along with the replacements.

If there’s no match (i.e. the input string doesn’t contain the substring), the the whole string is returned unchanged.

Continue reading →
MariaDB functions, regex, string functions, what is

How REGEXP_SUBSTR() Works in MariaDB

Posted on April 29, 2021April 29, 2021 by Ian

In MariaDB, the REGEXP_SUBSTR() function returns the substring that matches the given regular expression pattern.

If there’s no match (i.e. the input string doesn’t contain the substring), the result is an empty string.

Continue reading →
MariaDB functions, regex, string functions, what is

How REGEXP_INSTR() Works in MariaDB

Posted on April 29, 2021April 29, 2021 by Ian

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.

Continue reading →
MariaDB functions, regex, string functions, what is

How NOT RLIKE Works in MariaDB

Posted on April 28, 2021 by Ian

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.

Continue reading →
MariaDB functions, regex, string functions, what is

How RLIKE Works in MariaDB

Posted on April 28, 2021 by Ian

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.

Continue reading →
MariaDB functions, regex, string functions, what is

How NOT REGEXP Works in MariaDB

Posted on April 28, 2021 by Ian

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).

Continue reading →
MariaDB functions, regex, string functions, what is

How REGEXP Works in MariaDB

Posted on April 28, 2021 by Ian

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.

Continue reading →
MariaDB functions, regex, string functions, what is

MariaDB Introduces a JSON_TABLE() Function

Posted on April 27, 2021June 29, 2021 by Ian

The 10.6.0 release of MariaDB has added a JSON_TABLE() function.

The JSON_TABLE() function returns a representation of a JSON document as a relational table with the specified columns. It enables you to map JSON paths into relational columns to be returned in its results set.

Continue reading →
MariaDB functions, news

MariaDB to Introduce TO_CHAR()

Posted on April 27, 2021September 5, 2021 by Ian

The TO_CHAR() function has beeen introduced in MariaDB 10.6.1.

Continue reading →
MariaDB conversion functions, functions, news, string functions
  • «
  • 1
  • …
  • 72
  • 73
  • 74
  • 75
  • 76
  • …
  • 147
  • »

About Database.Guide | Privacy Policy