getPeriodType(int) - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢
Returns the Period value for the specified column. The following are the valid values for the Period type value:
NOT_PERIOD = 0
    PERIOD_DATE = 1
    PERIOD_TIME = 2
    PERIOD_TIME_WTZ =3
    PERIOD_TIMESTAMP = 4
    PERIOD_TIMESTAMP_WTZ = 5

The method throws SQLException if an error occurs while attempting to access the Period type information.

Syntax

int getPeriodType(int  column)
   throws SQL Exception