Return to Snippet

Revision: 36699
at November 25, 2010 02:42 by cdicarlo


Initial Code
STUFF( <field name>, 1, 0, REPLICATE( '0', <desired length> - LEN( <field name> ) ) )

Initial URL

                                

Initial Description

                                

Initial Title
Padding character field with leading zeros

Initial Tags
sql

Initial Language
SQL