15.00 - 6981 Invalid CAST. Casting a DATE value as PERIOD(TIME) is not allowed. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1096-015K
Language
English (United States)

6981 Invalid CAST. Casting a DATE value as PERIOD(TIME) is not allowed.

Explanation:

A DATE value cannot be cast as PERIOD(TIME).

Generated By:

Parser.

For Whom:

End User.

Remedy:

Rewrite the statement by correcting the source value to have a data type such that it is valid to cast the source value as the specified target type and re-submit.