Hi Suresh,
In Teradata, We don't have NUMBER datatype prior to TD 14 instead we have Decimal Datatype which is more equivalent to Number datatype in Oracle.
AS you have mentioned,the Datatype in Oracle is Number(10,4). So its equivalent in Teradata is Decimal(14,4) or NUMBER(14,4). If we use this Datatype, therewon't be any problem in Data Matches with the Oracle.
In Teradata,
Decimal(n,m) represents,
m- Represents the Scale(TotalNumber),
n - the Precision.
The Same is the case for Number(n,m). Themajor difference is that the Decimal is fixed length whereas the Number is Variable length depends on the exponent & Mantissa.
You can check the length of the Number datatype using CHAR_LENGTH(COL) or LENGTH(COL) of exactly whats the length that used for the NUMBER column.
Thanks & Regards,
Adharssh.
Hi Suresh,
In Teradata, We don't have NUMBER datatype prior to TD 14 instead we have Decimal Datatype which is more equivalent to Number datatype in Oracle.
AS you have mentioned,the Datatype in Oracle is Number(10,4). So its equivalent in Teradata is Decimal(14,4) or NUMBER(14,4). If we use this Datatype, therewon't be any problem in Data Matches with the Oracle.
In Teradata,
Decimal(n,m) represents,
m- Represents the Scale(TotalNumber),
n - the Precision.
The Same is the case for Number(n,m). Themajor difference is that the Decimal is fixed length whereas the Number is Variable length depends on the exponent & Mantissa.
You can check the length of the Number datatype using CHAR_LENGTH(COL) or LENGTH(COL) of exactly whats the length that used for the NUMBER column.
Thanks & Regards,
Adharssh.