Teradata Database Message 6985 - 17.10 - 6985 - 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
A nondeterministic UDF or UDM, RANDOM and SAMPLE clause are not allowed in a BEFORE ROW trigger WHEN clause, RANGE_N function.
Explanation
A BEFORE ROW trigger WHEN clause, RANGE_N function are not allowed to reference a nondeterministic function(RANDOM), nondeterministic UDF, nondeterministic UDM, or SAMPLE clause.
Generated By
Res
For Whom
End User.
Notes
None
Remedy
Resubmit the query after removing the reference to the nondeterministic UDF, UDM, or RANDOM function, or removing the SAMPLE clause.