Teradata Database Message 6846 - 17.10 - 6846 - 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
LOCAL is allowed only on Internal Type. %VSTR
Explanation
The LOCAL key word, which signifies the "fast-path", is only allowed on the Teradata Internal User Defined Type. It is not allowed on the Distinct or Structured types. If both Source and Target data types specified for a Cast are not Internal UDT type, the Cast routine must not be LOCAL.
Generated By
RES modules.
For Whom
End User.
Notes
None
Remedy
Correct the statement and resubmit the query.