RPAD FOR ORACLE
Syntax
The syntax for the RPAD function in Oracle/PLSQL is:
Example
Let's look at some Oracle RPAD function examples and explore how to use the RPAD function in Oracle/PLSQL.
For example:
RPAD('tech', 7) Result: 'tech ' RPAD('tech', 2) Result: 'te' RPAD('tech', 8, '0') Result: 'tech0000' RPAD('tech on the net', 15, 'z') Result: 'tech on the net' RPAD('tech on the net', 16, 'z') Result: 'tech on the netz'
RPAD( string1, padded_length [, pad_string] )
ไม่มีความคิดเห็น