marvin2010
Programmer
Hi.
Can you please help me? I have a computed column that divides in two a certain column in a table. I then added a specific column to also do the same (w/c is divide that column the computed column is also dividing). But when I do compare the result of the two, there are discrepancies in the decimal part.
For example:
GROSS_AMT NET_AMT COMPUTED_COLUMN
15578.87 7789.44 7789.435
8699.09 4349.55 4349.545
28754.71 14377.36 14377.355
How do I balance the two (computed column and the column that holds the actual data when saved)? It is more likely that the output from the computed column will be used. In short, how do u reference a computed column?
data type of gross_amt and net amt are numeric 12, 2 (oracle 10g)
Thanks in advance.
Can you please help me? I have a computed column that divides in two a certain column in a table. I then added a specific column to also do the same (w/c is divide that column the computed column is also dividing). But when I do compare the result of the two, there are discrepancies in the decimal part.
For example:
GROSS_AMT NET_AMT COMPUTED_COLUMN
15578.87 7789.44 7789.435
8699.09 4349.55 4349.545
28754.71 14377.36 14377.355
How do I balance the two (computed column and the column that holds the actual data when saved)? It is more likely that the output from the computed column will be used. In short, how do u reference a computed column?
data type of gross_amt and net amt are numeric 12, 2 (oracle 10g)
Thanks in advance.