Example: Compression Using MVC with a constant Value

Teradata Vantageā„¢ Data Types and Literals

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

The following example uses MVC to compress a specified date in a DATE column.

CREATE TABLE Duration
   (DurationID INTEGER,
    StartDate  DATE COMPRESS (DATE '2000-01-01'));