16.20 - Example: Querying for Compressed Latin Values - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Administration
Programming Reference
Publication ID
B035-1210-162K
Language
English (United States)

Given the following table definition:

CREATE TABLE Pendants
   (ItemNo INTEGER,
    Description VARCHAR(100) CHARACTER SET LATIN);

The following query returns the compressed values of the Description column.

SELECT TD_SYSFNLIB.CAMSET_L(Pendants.Description);