Posted By

demiusza on 12/11/13


Tagged

strings T-SQL


Versions (?)

Pad left with a given character


 / Published in: SQL
 

Left pads a string with the given character

  1. REPLACE(STR('I_AM_A_STRING', 20), SPACE(1), '0'))

Report this snippet  

You need to login to post a comment.