Teradata Database Message 6920 - 6920 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
lifecycle
latest
Product Category
Teradata Vantageā„¢
Message
A non-recursive WITH clause or view should not reference itself within its own definition.
Explanation
A query name or relation is being referenced inside its own definition, which is not allowed. This could be a non-recursive WITH clause or a CREATE VIEW statement.
Generated By
SYN/RES modules
For Whom
End User
Notes
None
Remedy
Examine the SQL statement and verify that the request is correct. Convert the statement into a recursive statement by using a WITH RECURSIVE or CREATE RECURSIVE VIEW clause if the query name needs to be referenced in its own definition. Otherwise, remove the query name reference from the non-recursive WITH or VIEW definition and resubmit the request.