PERIOD(TIME) - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

Product
Preprocessor2 for Embedded SQL
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

PERIOD(TIME)

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 shown in Table 4, are returned.

 

Table 4: PERIOD(TIME) MEMBERS

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.