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)...
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...
Hello,
I too am having issues doing this in SQL assistant. I am trying to concatenate 5 fields into one for my answer set. I keep getting a strange result.
SELECT field_1, (field_2||field_3||field_4||field_5||field_6), field_7, count(*) cnt
My result looks like this
836 B7 1. 2. 3. 236. 20...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.