Lpad: makes a string a certain length by adding (padding) a specified set of characters to the left of the original string
SQL> -- Lpad: makes a string a certain length by adding (padding) a specified set of characters to the left of the original string.
SQL>
SQL> -- LPAD stands for "left pad."
SQL>
SQL> -- The general format for this function is:
SQL>
SQL> -- LPAD(string, length_to_make_string,
SQL> -- what_to_add_to_left_of_string)
SQL>
SQL> SELECT LPAD('Column', 15, '.') FROM dual;
LPAD('COLUMN',1
---------------
.........Column
Related examples in the same category