RPAD
Pads string on the right with fill character to reach specified width.
Category: String Functions
Syntax
RPAD(string, width, fill)Arguments
- string
varcharString input value. - width
integerTarget width for the output. - fill
varcharPadding text used when the input is shorter than the target width.
Returns
VARCHAR — Returns the computed result as VARCHAR.