Hi Harish,
For the character data type, before Teradata 13.10, MVC (multi value compression) was restricted to fixed-length char¬acter columns (CHAR data type) and columns up to 255 characters wide.
For Teradata 13.10, MVC was enhanced so it can now be used with variable-length character columns (VARCHAR data type) and columns up to 510 characters wide. It can support any numeric type, all character data, GRAPHIC, VARGRAPHIC, BYTE and VARBYTE.
Here is the example
CREATE TABLE Customer
(Customer_Account_Number INTEGER
,Customer_Name VARCHAR(50) COMPRESS (‘Joe’,‘Mary’)
,Customer_Address CHAR(200));
Hope this helps
Please check with the version of TD,you are using.
thanks
Jagdish
Hi Harish,
For the character data type, before Teradata 13.10, MVC (multi value compression) was restricted to fixed-length char¬acter columns (CHAR data type) and columns up to 255 characters wide.
For Teradata 13.10, MVC was enhanced so it can now be used with variable-length character columns (VARCHAR data type) and columns up to 510 characters wide. It can support any numeric type, all character data, GRAPHIC, VARGRAPHIC, BYTE and VARBYTE.
Here is the example
CREATE TABLE Customer
(Customer_Account_Number INTEGER
,Customer_Name VARCHAR(50) COMPRESS (‘Joe’,‘Mary’)
,Customer_Address CHAR(200));
Hope this helps
Please check with the version of TD,you are using.
thanks
Jagdish