Create UDF to Pad Ride Side of Number with 0 - Fixed Width Number Disp(blog.sqlauthority.com)
submitted by
pinaldave(9662) 3 years, 2 months ago
If you prefer you can create UDF for the same. I would encourage my readers to submit the UDF for satisfying following criteria using code provided above.
UDF should take a parameter ‘Total Width of Number (in our example it is 7).
I will publish the reader who posts first correct answer to this UDF on this blog with due credit.
|category: Database
|Views: 140
tags:
SQLAuthority pinaldave SQLServer Database SQL another
Everyones tags:
Your Tags: