15.10 - FROM QCD_name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K
FROM QCD_name
Specifies that the statistics to be retrieved are found in the TableStatistics table of the specified QCD database.
FOR QUERY query_ID

 
Value inserted into QCD.TableStatistics.QueryId by Teradata Database.
Each unique composite of query_ID and statistics_ID identifies a separate set of statistics in QCD.TableStatistics for a given column or index.
The default value is 0.
SAMPLEID statistics_ID

 
Value inserted into QCD.TableStatistics.StatisticsId by Teradata Database.
Each unique composite of query_ID and statistics_ID identifies a separate set of statistics in QCD.TableStatistics for a given column or index.
The default value is 1.
USING MODIFIED
For reporting the modified statistics stored in QCD.TableStatistics.ModifiedStats.
If you do not specify the USING MODIFIED option, the system reports the unmodified statistics stored in QCD.TableStatistics.StatisticsInfo.