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
Published
July 2021
Language
English (United States)
Last Update
2021-08-13
dita:mapPath
fsi1592016213432.ditamap
dita:ditavalPath
fsi1592016213432.ditaval

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: