How can I reformat decimal data stored in a varchar field?
Posted: Wed Sep 03, 2008 3:03 pm
Hi all,
I have a varchar field that is has decimal data. The data length is 19 the scale is 6. the data may or may not have leading zeros.
I need to keep all the numeric data before the period with the zeros suppressed and only the first 2 numbers after the period.
Is there a set of functions that can accomplish this?
Thanks in advance for any help.
I have a varchar field that is has decimal data. The data length is 19 the scale is 6. the data may or may not have leading zeros.
I need to keep all the numeric data before the period with the zeros suppressed and only the first 2 numbers after the period.
Is there a set of functions that can accomplish this?
Thanks in advance for any help.