/ Published in: SQL
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
STUFF( <FIELD name>, 1, 0, REPLICATE( '0', <desired length> - LEN( <FIELD name> ) ) )
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
STUFF( <FIELD name>, 1, 0, REPLICATE( '0', <desired length> - LEN( <FIELD name> ) ) )