PERIOD(TIME) |Teradata Preprocessor2 for Embedded SQL (PP2) - PERIOD(TIME) - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Preprocessor2
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
nyr1691484085721.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
xfi1470440464166
Product Category
Teradata Tools and Utilities

There are two values for the time period: the first value represents the start of the time period and the second value represents the date following the end of the time period.

Only character host variable formats are supported. Two TIME members, each with the format are returned, as shown in the following example:

Field Displacement Length Description
Seconds 0 4 This integer represents the number of seconds as a scaled decimal. For example, 12.56 seconds is returned as 12560000.
Hours 4 1 This integer represents the number of hours.
Minutes 5 1 This integer represents the number of minutes.

The total length of the output is 12 bytes.