15.00 - Specifying RECURSIVE For a Non-Recursive View - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Teradata Database
Programming Reference

Specifying RECURSIVE For a Non‑Recursive View

The system does not require a view defined explicitly with the keyword RECURSIVE to have a recursive reference. As long as such a view definition is otherwise correct syntactically, the system creates the view as specified without returning an error to the requestor. However, the resulting database object is not a recursive view.

This is analogous to the situation in which you explicitly define an outer join in your query, but, because the Optimizer evaluates the query text as if you had defined an inner join, and rewrites it accordingly. In that situation, the system makes an inner join on the specified tables, but does not return an error or a warning to the requestor. See SQL Data Manipulation Language for an extended analysis of the outer join specification issue.