COLLECT DEMOGRAPHICS Syntax | SQL Statements | Teradata Vantage - 17.05 - COLLECT DEMOGRAPHICS Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1146-175K
Language
English (United States)
COLLECT DEMOGRAPHICS FOR { table_spec | ( table_spec [,...] ) }
  INTO QCD_name [ ALL | WITH NO INDEX ] [;]

Syntax Elements

table_spec
[ database_name. | user_name. ] table_name
QCD_name
Name of the QCD database into which the collected data demographic estimates are to be written.
ALL
Collect primary and index subtable data demographic estimates.
This is the default.
WITH NO INDEX
Exclude index subtable data demographic estimates from the collection and collect only primary data estimates.
database_name
user_name
Containing database or user for table_name if something different from the current database or user.
table_name
Names of tables for which data demographic estimates are to be collected.