Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I zero fill left justify in a select???

Status
Not open for further replies.

Rhinohd

Technical User
Nov 29, 2005
4
0
0
US
How do I create a left justified, zero filled (leading zeros for a total 10 bytes) result from this select? The field is (DECIMAL 9,2)...

Code:
Select
sum(d.PRICE) as "Dollars"

I need the results to be formated like this sample..
00000123.54
00000069.95


Rather then this
123.54
69.95


Thanks In Advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top