RPAD
Uses a given padstring to right pad a string to a certain size.
Syntax
Arguments
STRING
STRING
Type: string
The string to be padded.
SIZE
SIZE
Type: bigint
A non-negative integer specifying the length of the result string.
PADSTRING
PADSTRING
Type: string
The string to use for padding. This must be non-empty.
Returns
Type: string
STRING
right padded to SIZE
with PADSTRING
.
If SIZE
is less than the length of STRING
, the result is truncated to SIZE
characters.
Examples
Transformation job example
SQL
Query result
Last updated