Using MVC with CHARACTER or VARCHAR Data Type - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantage™

When you specify a constant for a CHARACTER or VARCHAR data type without the UPPERCASE option, a data value must match the case of the constant to be compressed.

For example, if a column named Doc_Type is defined as follows:

Doc_Type CHARACTER(6) COMPRESS 'Manual'

then each value must be entered as ' Manual ' in order to be compressed. A value in a different case, such as ' MANUAL ' or ' manual,' is not compressed.