Decimal Datatype
Posted: Thu Feb 27, 2014 5:01 am
Hi,
There is a oracle table which has below column
"DEP_ID" Decimal(22,5)
But while reading data from the table using datastage i have declared metadata in the "ORACLE CONNECTOR" as Decimal(22,2)
My concern is will it just truncate the rest of the decimal part or will it round off?
Data in the table " 23.56789"
When read using datastage will it be 23.56 or 23.57
There is a oracle table which has below column
"DEP_ID" Decimal(22,5)
But while reading data from the table using datastage i have declared metadata in the "ORACLE CONNECTOR" as Decimal(22,2)
My concern is will it just truncate the rest of the decimal part or will it round off?
Data in the table " 23.56789"
When read using datastage will it be 23.56 or 23.57