Teradata Database Message 6984 - 17.10 - 6984 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
Invalid CAST. Casting a PERIOD(TIME) value as %VSTR is not allowed.
Explanation
A Period(TIME) value cannot be cast as DATE or PERIOD(DATE) .
Generated By
Parser modules.
For Whom
End User.
Notes
None
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..