Difference in precision in sqlplus and excel [message #412237] |
Wed, 08 July 2009 06:01 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
loveoracle
Messages: 41 Registered: February 2006 Location: Mumbai
|
Member |
![Oracle DBA](/forum/theme/orafaq/images/jabber.png)
|
|
Dear All,
In sqlplus i am getting following output. But when I check sum in Excel then I am getting difference in precesion.
Is there any reason for same.
SQL Plus output:
SUM(A) B C D
------------- --- ----------- -
161168899 BSE 200910060 C
83641194.3 BSE 200910060 D
11420845.9 BSE 200910060 C
7272839.37 BSE 200910060 D
763331488 NSE 2009117 C
483849377 NSE 2009117 D
6918785.78 NSE 2009117 C
7049142.56 NSE 2009117 D
Excel Output
A B C D
-------------- -- ---------- -----
161168899.21 B 200910060 C
83641194.33 B 200910060 D
11420845.9 B 200910060 C
7272839.37 B 200910060 D
763331488.35 N 2009117 C
483849377.36 N 2009117 D
6918785.78 N 2009117 C
7049142.56 N 2009117 D
Thanks in advance.
|
|
|
|
|
|
Re: Difference in precision in sqlplus and excel [message #412279 is a reply to message #412237] |
Wed, 08 July 2009 08:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
loveoracle
Messages: 41 Registered: February 2006 Location: Mumbai
|
Member |
![Oracle DBA](/forum/theme/orafaq/images/jabber.png)
|
|
Hi All,
If I run same query in command window of PL/SQL developer tool
then I am getting out same as excel.
A B C D
-------------- -- ---------- -----
161168899.21 B 200910060 C
83641194.33 B 200910060 D
11420845.9 B 200910060 C
7272839.37 B 200910060 D
763331488.35 N 2009117 C
483849377.36 N 2009117 D
6918785.78 N 2009117 C
7049142.56 N 2009117 D
In sqlplus it's not showing me the precisions for some values.
Regards.
[EDITED by LF: applied [pre] tags]
[Updated on: Wed, 08 July 2009 10:31] by Moderator Report message to a moderator
|
|
|
|
|