17.10 - Example: Using the tdheatmap_m Macro - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

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

The tdheatmap_m macro is another way to get the temperature information. Run the macro to display additional columns such as Date, Time, DatabaseName, TableName, and CylinderId.

Note that when using the macro, you cannot SELECT particular columns or use the WHERE clause.

The macro tdheatmap_m is created automatically using the tdheatmap table function. It takes the AMP number as an input parameter and is created in the DBC database.

The following example uses the tdheatmap_m macro to generate a heatmap for AMP 1:
EXECUTE DBC.tdheatmap_m(1);

And the resulting output: