27 Mar 2008
Decimal(18) takes up 8 bytes while Decimal(19) through Decimal(38) takes up 16 bytes.
See SQL Reference: Data Types and Literals.
Is the source data/field 16 bytes long?
You must sign in to leave a comment.
|
27 Mar 2008
Decimal(18) takes up 8 bytes while Decimal(19) through Decimal(38) takes up 16 bytes. You must sign in to leave a comment.
|
I was previously using Teradata Version 6 and we used to fastload data into tables with fields, decimal(18,4). Now we have shifted to Teradata Version 12 and requirement is that the tables should have decimal(19,4) fields. I get the following error when I try to fastload data into a decimal field(19,4), "DECIMAL TYPE- record too short".
However when I try to fastload with decimal(18,4) in Teradata Version 12, it runs just fine. So could someone please help me with this.