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

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
xwv1596137968859.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

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: