Filter berdasarkan kategori:
Menampilkan 24 dari 220 fungsi
REGEXP_INSTR
Returns the position (1-based) of the substring that matches the regular expression. Returns 0 if there is no match.
INT64REGEXP_REPLACE
Replaces all substrings that match the regular expression with a replacement string. Supports backreferences.
STRINGREGEXP_SUBSTR
Alias for REGEXP_EXTRACT. Extracts the substring that matches the regular expression.
STRINGREPEAT
Repeats a string n times. Useful for generating patterns.
STRINGREPLACE
Replaces all occurrences of a substring with a new string. Replacement is case-sensitive.
STRINGREVERSE
Reverses the order of characters in a string. The first character becomes the last and vice versa.
STRINGRIGHT
Extracts a specified number of characters from the right (end) of a string. A more readable shorthand for extracting trailing characters.
STRINGROUND
Rounds a number to the specified decimal precision using the half-away-from-zero rounding method.
Same as input typeROW_NUMBER
Assigns a unique sequential number to each row within a partition, starting at 1. No duplicate values are assigned.
INT64RPAD
Pads the right side of a string with characters until it reaches a specified length. Right padding.
STRINGRTRIM
Removes characters from the right side (end) of a string. Right trim for trailing characters.
STRINGSAFE_ADD
Melakukan penjumlahan aman yang mengembalikan NULL jika overflow.
Same as inputSAFE_CAST
Mengkonversi expression ke tipe data yang ditentukan, mengembalikan NULL jika gagal.
Specified type or NULLSAFE_CONVERT_BYTES_TO_STRING
Safely converts a BYTES value to a STRING, replacing any invalid UTF-8 characters with the Unicode replacement character instead of raising an error.
STRINGSAFE_DIVIDE
Performs safe division that returns NULL instead of an error when the divisor is zero.
FLOAT64SAFE_MULTIPLY
Melakukan perkalian aman yang mengembalikan NULL jika terjadi overflow.
Same as inputSAFE_NEGATE
Mengembalikan negasi (nilai negatif) secara aman, NULL jika overflow.
Same as inputSAFE_OFFSET
Mengakses elemen array dengan zero-based index, mengembalikan NULL jika out of bounds.
Element type or NULLSAFE_ORDINAL
Mengakses elemen array dengan one-based index, mengembalikan NULL jika out of bounds.
Element type or NULLSAFE_SUBTRACT
Melakukan pengurangan aman yang mengembalikan NULL jika overflow.
Same as inputSESSION_USER
Mengembalikan email address dari user yang menjalankan query.
STRINGSHA1
Menghitung SHA-1 hash dari input. Return BYTES.
BYTESSHA256
Menghitung SHA-256 hash dari input. Aman untuk kriptografi.
BYTESSHA512
Menghitung SHA-512 hash dari input. Hash paling kuat di keluarga SHA-2.
BYTES