Back to Playground Home

Right pad string values that have less than a certain number of characters

SELECT RPAD(string_field, '20', '*') AS value
FROM users