expr1 || expr2 |
Returns the concatenation of expr1 and expr2 . |
aes_decrypt(expr, key[, mode[, padding[, aad]]]) |
Decrypts a binary expr using AES encryption. |
aes_encrypt(expr, key[, mode[, padding[, iv[, aad]]]]) |
Encrypts a binary expr using AES encryption. |
ascii(str) |
Returns the ASCII code point of the first character of str . |
base64(expr) |
Converts expr to a base 64 string. |
bin(expr) |
Returns the binary representation of expr . |
binary(expr) |
Casts the value of expr to BINARY . |
bit_length(expr) |
Returns the bit length of string data or number of bits of binary data. |
bitmap_count(expr) |
Returns the number of bits set in a BINARY string representing a bitmap. |
btrim(str [, trimStr]) |
Returns str with leading and trailing characters removed. |
char(expr) |
Returns the character at the supplied UTF-16 code point. |
char_length(expr) |
Returns the character length of string data or number of bytes of binary data. |
character_length(expr) |
Returns the character length of string data or number of bytes of binary data. |
charindex(substr, str[, pos]) |
Returns the position of the first occurrence of substr in str after position pos . |
chr(expr) |
Returns the character at the supplied UTF-16 code point. |
strExpr collate collationName |
Attaches an explicit collation collationName to strExpr . |
collation [for] (strExpr) |
Returns the collation attached to strExpr . |
concat(expr1, expr2[, …]) |
Returns the concatenation of the arguments. |
concat_ws(sep[, expr1[, …]]) |
Returns the concatenation strings separated by sep . |
contains(expr, subExpr) |
Returns true if expr STRING or BINARY contains subExpr . |
crc32(expr) |
Returns a cyclic redundancy check value of expr . |
decode(expr, charSet) |
Translates binary expr to a string using the character set encoding charSet . |
encode(expr, charSet) |
Returns the binary representation of a string using the charSet character encoding. |
endswith(expr, endExpr) |
Returns true if expr STRING or BINARY ends with endExpr . |
find_in_set(searchExpr, sourceExpr) |
Returns the position of a string within a comma-separated list of strings. |
format_number(expr, scale) |
Formats expr like #,###,###.## , rounded to scale decimal places. |
format_number(expr, fmt) |
Formats expr like fmt . |
format_string(strfmt[, obj1 [, …]]) |
Returns a formatted string from printf-style format strings. |
hex(expr) |
Converts expr to hexadecimal. |
str ilike (pattern[ESCAPE escape]) |
Returns true if str matches pattern with escape case insensitively. |
initcap(expr) |
Returns expr with the first letter of each word in uppercase. |
instr(str, substr) |
Returns the (1-based) index of the first occurrence of substr in str . |
lcase(expr) |
Returns expr with all characters changed to lowercase. |
left(str, len) |
Returns the leftmost len characters from str . |
len(expr) |
Returns the character length of string data or number of bytes of binary data. |
length(expr) |
Returns the character length of string data or number of bytes of binary data. |
levenshtein(str1, str2) |
Returns the Levenshtein distance between the strings str1 and str2 . |
str like (pattern[ESCAPE escape]) |
Returns true if str matches pattern with escape . |
locate(substr, str[, pos]) |
Returns the position of the first occurrence of substr in str after position pos . |
lower(expr) |
Returns expr with all characters changed to lowercase. |
lpad(expr, len[, pad]) |
Returns expr , left-padded with pad to a length of len . |
ltrim([trimstr,] str) |
Returns str with leading characters within trimStr removed. |
mask(str[, upperChar[, lowerChar[, digitChar[, otherChar]]]]) |
Returns a masked version of the input str . |
md5(expr) |
Returns an MD5 128-bit checksum of expr as a hex string. |
octet_length(expr) |
Returns the byte length of string data or number of bytes of binary data. |
overlay(input PLACING replace FROM pos [FOR len]) |
Replaces input with replace that starts at pos and is of length len . |
overlay(input PLACING replace FROM pos [FOR len]) |
Replaces input with replace that starts at pos and is of length len . |
parse_url(url, partToExtract[, key]) |
Extracts a part from url . |
position(substr, str[, pos]) |
Returns the position of the first occurrence of substr in str after position pos . |
position(subtr IN str) |
Returns the position of the first occurrence of substr in str after position pos . |
printf(strfmt[, obj1 [, …]]) |
Returns a formatted string from printf-style format strings. |
randstr(length) |
Returns a random string of length alpha-numeric characters. |
str regexp regex |
Returns true if str matches regex . |
str regexp_like regex |
Returns true if str matches regex . |
regexp_count(str, regexp) |
Returns the number of times str matches the regexp pattern. |
regexp_extract(str, regexp[, idx]) |
Extracts the first string in str that matches the regexp expression and corresponds to the regex group index. |
regexp_extract_all(str, regexp[, idx]) |
Extracts the all strings in str that matches the regexp expression and corresponds to the regex group index. |
regexp_instr(str, regexp) |
Returns the position of the first substring in str that matches regexp . |
regexp_replace(str, regexp, rep[, position]) |
Replaces all substrings of str that match regexp with rep . |
regexp_substr(str, regexp) |
Returns the first substring in str that matches regexp . |
repeat(expr, n) |
Returns the string that repeats expr n times. |
replace(str, search [, replace]) |
Replaces all occurrences of search with replace . |
reverse(expr) |
Returns a reversed string or an array with reverse order of elements. |
right(str, len) |
Returns the rightmost len characters from the string str . |
str rlike regex |
Returns true if str matches regex . |
rpad(expr, len[, pad]) |
Returns expr , right-padded with pad to a length of len . |
rtrim([trimStr,] str) |
Returns str with trailing characters removed. |
sentences(str[, lang, country]) |
Splits str into an array of array of words. |
sha(expr) |
Returns a sha1 hash value as a hex string of expr . |
sha1(expr) |
Returns a sha1 hash value as a hex string of expr . |
sha2(expr, bitLength) |
Returns a checksum of the SHA-2 family as a hex string of expr . |
soundex(expr) |
Returns the soundex code of the string. |
space(n) |
Returns a string consisting of n spaces. |
split(str, regex[, limit]) |
Splits str around occurrences that match regex and returns an array with a length of at most limit . |
split_part(str, delim, partNum) |
Splits str around occurrences of delim and returns the partNum part. |
startswith(expr, startExpr) |
Returns true if expr STRING or BINARY starts with startExpr . |
string(expr) |
Casts the value expr to STRING . |
substr(expr, pos[, len]) |
Returns the substring of expr that starts at pos and is of length len . |
substr(expr FROM pos[ FOR len]) |
Returns the substring of expr that starts at pos and is of length len . |
substring(expr, pos[, len]) |
Returns the substring of expr that starts at pos and is of length len . |
substring(expr FROM pos[ FOR len]) |
Returns the substring of expr that starts at pos and is of length len . |
substring_index(expr, delim, count) |
Returns the substring of expr before count occurrences of the delimiter delim . |
to_binary(expr[, fmt]) |
Returns expr cast to a Binary based on fmt . |
to_char(numExpr, fmt) |
Returns numExpr cast to STRING using formatting fmt .” |
to_varchar(numExpr, fmt) |
Returns numExpr cast to STRING using formatting fmt .” |
translate(expr, from, to) |
Returns an expr where all characters in from have been replaced with those in to . |
trim([[BOTH | LEADING | TRAILING] [trimStr] FROM] str) |
Trim characters from a string. |
try_aes_decrypt(expr, key[, mode[, padding[, aad]]]) |
Decrypts a binary expr using AES encryption, and return NULL in case of error. |
try_to_binary(expr [, fmt]) |
Returns expr cast to BINARY based on fmt , or NULL if the input is invalid. |
try_url_decode(str) |
Translates a string back from application/x-www-form-urlencoded format, and returns NULL in case of error. |
try_zstd_decompress(value) |
Returns value decompressed with Zstandard compression, or NULL if the input is invalid. |
ucase(expr) |
Returns expr with all characters changed to uppercase. |
unbase64(expr) |
Returns a decoded base64 string as binary. |
unhex(expr) |
Converts hexadecimal expr to BINARY . |
upper(expr) |
Returns expr with all characters changed to uppercase. |
url_decode(str) |
Translates a string back from application/x-www-form-urlencoded format. |
url_encode(str) |
Translates a string into application/x-www-form-urlencoded format. |
zstd_compress (value[,level[,streaming_mode]]) |
Returns value compressed with Zstandard compression. |
zstd_decompress(value) |
Returns value decompressed with Zstandard compression. |