17.10 - Examples - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SystemFE Macros

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Publication ID
B035-1103-171K
Language
English (United States)

The following example returns the percent value for macros CDS_Database, CDS_Database_ANSI, CDS_System, and CDS_System_ANSI to use when collecting statistics:

EXEC systemfe.CDS_ViewPercentData;
 *** Query completed. One row found. One column returned. 
 *** Total elapsed time was 1 second.

PercentValue
------------
       80.00