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 (130)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,169)
  • SQLite (298)

Tag: string functions

How TRIM() Works in MariaDB

Posted on April 16, 2021 by Ian

In MariaDB, TRIM() is a built-in string function that removes characters from the start or end of a string.

By default it removes leading and trailing spaces, but you can specify which character to remove, as well as which side/s you’d like it removed from.

Continue reading →
MariaDB functions, string functions, what is

How RTRIM() Works in MariaDB

Posted on April 16, 2021 by Ian

In MariaDB, RTRIM() is a built-in string function that returns a string with any trailing space characters removed.

Continue reading →
MariaDB functions, string functions, what is

How LTRIM() Works in MariaDB

Posted on April 16, 2021 by Ian

In MariaDB, LTRIM() is a built-in string function that returns a string with any leading space characters removed.

Continue reading →
MariaDB functions, string functions, what is

How LOAD_FILE() Works in MariaDB

Posted on April 15, 2021 by Ian

In MariaDB, the LOAD_FILE() function reads a file and returns the file contents as a string.

Continue reading →
MariaDB functions, string functions, what is

How RPAD() Works in MariaDB

Posted on April 15, 2021 by Ian

In MariaDB, RPAD() is a built-in string function that pads the right part of a string with a certain number of a specified character.

For example, you can use RPAD() to pad the right part of a string with dots.

Continue reading →
MariaDB functions, string functions, what is

How LPAD() Works in MariaDB

Posted on April 15, 2021July 22, 2021 by Ian

In MariaDB, LPAD() is a built-in string function that pads the left part of a string with a certain number of characters.

For example, you can use LPAD() to pad the left part of a string with spaces. Or you could pad a number with leading zeros.

Continue reading →
MariaDB functions, string functions, what is

How RIGHT() Works in MariaDB

Posted on April 14, 2021 by Ian

In MariaDB, RIGHT() is a built-in string function that returns a given number of characters from the rightmost part of a string.

RIGHT() accepts two arguments; the string, and the number of characters to return from the right part of that string.

Continue reading →
MariaDB functions, string functions, what is

MariaDB UCASE() Explained

Posted on April 13, 2021 by Ian

In MariaDB, UCASE() is a built-in string function that returns its string argument with all characters changed to uppercase.

The result is returned in the current character set mapping. The default is latin1 (cp1252 West European).

UCASE() is a synonym for UPPER().

Continue reading →
MariaDB functions, string functions, what is

How UPPER() Works in MariaDB

Posted on April 13, 2021April 13, 2021 by Ian

In MariaDB, UPPER() is a built-in string function that returns its string argument with all characters changed to uppercase.

The result is returned in the current character set mapping. The default is latin1 (cp1252 West European).

Another MariaDB function, UCASE() is a synonym for UPPER().

Continue reading →
MariaDB functions, string functions, what is

MariaDB LCASE() Explained

Posted on April 13, 2021 by Ian

In MariaDB, LCASE() is a built-in string function that returns its string argument with all characters changed to lowercase.

The result is returned in the current character set mapping. The default is latin1 (cp1252 West European).

LCASE() is a synonym for LOWER().

Continue reading →
MariaDB functions, string functions, what is
  • «
  • 1
  • …
  • 13
  • 14
  • 15
  • 16
  • 17
  • …
  • 33
  • »

About Database.Guide | Privacy Policy