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

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™
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.