Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Problems with rounding
Hi Everyone,
I'm beginning to use external tables. I put some character data into the table,. It was a signed number, such as -123456.187. When I select the data using this select statement, it seems to round the data automatically. Why is this? I must be doing something wrong.........
Thanks in advance for your help.
ACTUAL DATA: -123456.187 SQL> select to_number(field1,'999999999.999') from art_ext;
TO_NUMBER(FIELD1,'999999999.999')
-1234567.2 CREATE TABLE art_ext ( FIELD1 VARCHAR2(20))
![]() |
![]() |