Category: MySQL Functions

How to use the LIKE Operator in MySQL8?

How to use the LIKE Operator in MySQL8?

The LIKE operator performs pattern matching using an SQL pattern. If the string matches the pattern given, the result is 1(TRUE), otherwise it’s 0(FALSE). This is not necessarily to be...

MySQL8 INSERT() Functions – String Functions

MySQL INSERT() Functions: Syntax INSERT ( string1, startpos, length, newstring );   MySQL INSERT() Functions: Description INSERT() Functions push newstring at specified place up to specified number of characters  into existing...

MySQL8 FROM_BASE64() Functions – String Functions

MySQL FROM_BASE64() Functions: Syntax FROM_BASE64 ( string ); MySQL FROM_BASE64() Functions: Description FROM_BASE64() functions decode a string encoded with the base-64 encoding rules used by TO_BASE64() and return the decoded...

MySQL8 TO_BASE64() Functions – String Functions

MySQL TO_BASE64() Functions: Syntax TO_BASE64 ( string ); MySQL TO_BASE64() Functions: Description TO_BASE64() functions convert the string parameter value to base-64 encoded form and return the result as a character string...

MySQL8 FIND_IN_SET() Functions – String Functions

MySQL FIND_IN_SET() Functions: Syntax FIND_IN_SET ( searchString, stringList ); MySQL FIND_IN_SET() Functions: Description FIND_IN_SET() function searches for the specified string in the strings SET argument. If the search string is...

MySQL8 FIELD() Functions – String Functions

MySQL FIELD() Functions: Syntax FIELD ( searchString, string1, string2, string3, ….. ); MySQL FIELD() Functions: Description Field() functions search for the specified string in the strings arguments. If the search...

MySQL8 LTRIM() Functions – String Functions

MySQL LTRIM() Functions: Syntax LTRIM ( string ); MySQL LTRIM() Functions: Description LTRIM() functions remove all leading spaces from the input string. Note : This function is multibyte safe. MySQL LTRIM()...

mysql

MySQL8 TRIM() Functions – String Functions

MySQL TRIM() Functions: Syntax TRIM([{BOTH | LEADING | TRAILING} [removestring] FROM] string1); OR TRIM([removestring FROM] string1); MySQL TRIM() Functions: Description TRIM() functions removes all leading i.e from the front and...

MySQL8 RTRIM() Functions – String Functions

MySQL RTRIM() Functions: Syntax RTRIM ( string ); MySQL RTRIM() Functions: Description RTRIM() functions removes all trailing spaces from the input string. Note : This function is multibyte safe. MySQL...

mysql

MySQL LCASE() Functions – String Functions

MySQL LCASE() Functions: Syntax LCASE ( string ); MySQL LCASE() Functions: Description LCASE() functions converts all the characters in a string to lowercase characters according to the current character set...