Usage of Double data type
Posted: Thu Sep 15, 2011 10:17 pm
Hi,
I am converting a server job into a parallel job. The server job has a column which is defined as Double with length 25. the target is Oracle table where the corresponding data type is Varchar 25. When I used the same data type definition in parallel job, I was getting the value for some records in the Oracle table as xxxxE+2. So I used a varchar 25 in the paralel job to avoid that to be in sync with the data in server job's output. But I am getting extra precision in the value now.
e.g: server job write 101.5814 whereas the parallel job writes as 101.58141. What data type should I define in this case? Please suggest.
I am converting a server job into a parallel job. The server job has a column which is defined as Double with length 25. the target is Oracle table where the corresponding data type is Varchar 25. When I used the same data type definition in parallel job, I was getting the value for some records in the Oracle table as xxxxE+2. So I used a varchar 25 in the paralel job to avoid that to be in sync with the data in server job's output. But I am getting extra precision in the value now.
e.g: server job write 101.5814 whereas the parallel job writes as 101.58141. What data type should I define in this case? Please suggest.