Skip to content

Database.Guide

DBMS

Database Management Systems

How the LPAD() Function Works in MySQL

November 19, 2019January 24, 2019 by Ian

In MySQL, the LPAD() function allows you to pad the left part of a string with one or more characters.

The way it works is, you specify the string to pad, the length of the padding, as well as the string of characters to use for the padding.

Read more

Categories MySQL Tags functions, string functions

How the LOCATE() Function Works in MySQL

November 19, 2019January 16, 2019 by Ian

In MySQL, the LOCATE() function returns the position of a substring within a string. More specifically, it returns the position of the first occurrence within the string, or the first occurrence after a given starting point.

Read more

Categories MySQL Tags functions, string functions

How the LOAD_FILE() Function Works in MySQL

November 19, 2019January 15, 2019 by Ian

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

Read more

Categories MySQL Tags functions, string functions

How the RIGHT() Function Works in MySQL

November 19, 2019January 14, 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.

Read more

Categories MySQL Tags functions, string functions

How the LEFT() Function Works in MySQL

November 19, 2019January 14, 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.

Read more

Categories MySQL Tags functions, string functions

How the UCASE() Function Works in MySQL

November 19, 2019January 13, 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).

Read more

Categories MySQL Tags functions, string functions

How the UPPER() Function Works in MySQL

November 19, 2019January 13, 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).

Read more

Categories MySQL Tags functions, string functions

How the LCASE() Function Works in MySQL

November 19, 2019January 13, 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).

Read more

Categories MySQL Tags functions, string functions

How the LOWER() Function Works in MySQL

November 19, 2019January 12, 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).

Read more

Categories MySQL Tags functions, string functions

How the INSTR() Function Works in MySQL

November 19, 2019January 11, 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).

Read more

Categories MySQL Tags functions, string functions
Older posts
Newer posts
← Previous Page1 … Page346 Page347 Page348 … Page391 Next →

About | Privacy Policy

© 2026 Database.Guide • All rights reserved