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 (128)
  • 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 the LOAD_FILE() Function Works in MySQL

Posted on January 15, 2019November 19, 2019 by Ian

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

Continue reading →

MySQL functions, string functions

How the RIGHT() Function Works in MySQL

Posted on January 14, 2019November 19, 2019 by Ian

In MySQL, the RIGHT() function returns the rightmost characters from a string. The number of characters returned is determined by the second argument.

Continue reading →

MySQL functions, string functions

How the LEFT() Function Works in MySQL

Posted on January 14, 2019November 19, 2019 by Ian

In MySQL, the LEFT() function returns the leftmost characters from a string. The number of characters returned is determined by the second argument.

Continue reading →

MySQL functions, string functions

How the UCASE() Function Works in MySQL

Posted on January 13, 2019November 19, 2019 by Ian

In MySQL, the UCASE() function is a synonym for UPPER(). In other words, you can use either of these functions to do the same thing.

Specifically, both functions convert lowercase characters to uppercase (and return the result), according to the current character set mapping (the default mapping is utf8mb4).

Continue reading →

MySQL functions, string functions

How the UPPER() Function Works in MySQL

Posted on January 13, 2019November 19, 2019 by Ian

In MySQL, the UPPER() function converts lowercase characters to uppercase, according to the current character set mapping (the default mapping is utf8mb4).

Continue reading →

MySQL functions, string functions

How the LCASE() Function Works in MySQL

Posted on January 13, 2019November 19, 2019 by Ian

In MySQL, the LCASE() function is a synonym for LOWER(). In other words, you can use either of these functions to do the same thing.

Specifically, both functions convert uppercase characters to lowercase, according to the current character set mapping (the default mapping is utf8mb4).

Continue reading →

MySQL functions, string functions

How the LOWER() Function Works in MySQL

Posted on January 12, 2019November 19, 2019 by Ian

In MySQL, the LOWER() function converts uppercase characters to lowercase, according to the current character set mapping (the default mapping is utf8mb4).

Continue reading →

MySQL functions, string functions

How the INSTR() Function Works in MySQL

Posted on January 11, 2019November 19, 2019 by Ian

The INSTR() function returns the position of the first occurrence of a substring within a string. Basically, it does the same thing that the two-argument syntax of the LOCATE() function does (except that the order of the arguments is reversed).

Continue reading →

MySQL functions, string functions

How the TO_BASE64() Function Works in MySQL

Posted on December 13, 2018September 5, 2021 by Ian

In MySQL, the TO_BASE64() function converts a string to a base-64 encoded string and returns the result.

Continue reading →

MySQL conversion functions, functions, string functions

How the FROM_BASE64() Function Works in MySQL

Posted on November 24, 2018November 19, 2019 by Ian

In MySQL, the FROM_BASE64() function decodes a base-64 encoded string and returns the result. More specifically, it takes a string encoded with the base-64 encoded rules used by TO_BASE64() and returns the decoded result as a binary string.

Continue reading →

MySQL functions, string functions
  • «
  • 1
  • …
  • 24
  • 25
  • 26
  • 27
  • 28
  • …
  • 33
  • »

About Database.Guide | Privacy Policy