Hello people!
I am going crazy here. I can't figure out why I am seeing decimal data in the format of " 000011." when viewing from a data set or a OCI.
The Oracle 10 database has this column as a decimal(11) with no scale. So I should see a clean looking number, yes?
Any ideas will be so gratefully appreciated.
Thanks so much,
Ken
Your contributing to my sanity
Decimal Format of " 000011." when viewing data
Moderators: chulett, rschirm, roy
Thanks for the reassurance. I know I can perform mathimatical calculations on the column so it must be numeric. I just needed some light shed on the weirdness of the format of ' 0001.' with the preceding space. As long as it gets to and from the database as numeric, I should be fine.
Thanks again.
Kind Regards,
Ken
Thanks again.
Kind Regards,
Ken
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It is a clean number. View Data always adds sufficient leading and trailing zeroes so that you can verify that precision and scale are being handled correctly. And View Data always displays a decimal placeholder when the data type is non-integer numeric.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Decimal Format of " 000011." when viewing data
You're earning your qualification (you have to be crazy to work here).kenstorm wrote:I am going crazy here.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.