Functions
Standard functions
Function | Description |
|---|---|
CAST | |
TRY_CAST | |
IF |
NULL Handling functions
Function | Description |
|---|---|
COALESCE | |
NULLIF |
Math Functions
String functions
Function | Description |
|---|---|
. | Table/column name separator |
Get substring from left | |
Gets the length of a STRING or BYTES value | |
Get substring from right | |
Replace all occurrences of a substring | |
CONCAT | |
INSTR | |
Returns the string text to lower-case | |
Returns the string text to upper-case | |
LPAD | |
LTRIM | |
RTRIM | |
SPLIT_PART | |
TRIM | |
Returns the position of the first occurence of a aubstring in a string |
Datetime functions
Function | Description |
|---|---|
Returns the span between two dates | |
Truncates a date or timestamp to the specified unit | |
Adds the specified interval to a timestamp | |
Returns the span between two timestamps | |
Converts a string to a date using the specified format string | |
Converts a string to a timestamp using the specified format string | |
CONVERT_TIMEZONE | |
EXTRACT | |
LAST_DAY | |
CURRENT_DATE |
Date part functions
Other functions
Function | Description |
|---|---|
GREATEST | |
SHA256 | |
TO_HEX |