16.20 - TDWMExceptionRate - Teradata Vantage NewSQL Engine

Teradata Vantage™ Application Programming Reference

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1090-162K

Purpose

Returns the first record of the TDWM Exception request, which is the collection rate.

Definition

REPLACE FUNCTION TDWM.TDWMExceptionRate()
RETURNS SMALLINT
          .
          .
          .
;

Return Value

The SMALLINT data type returns the duration of the collection period in seconds. This value represents the collection rate.

Example: Using TDWMExceptionRate

SELECT TDWM.TDWMExceptionRate();
 *** Query completed. One row found. One column returned.
 *** Total elapsed time was 1 second.
TDWMExceptionRate()
-------------------
                 60