Database Recursive Query - Teradata Vantage - Analytics Database

Database Introduction

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-09-27
dita:mapPath
gtm1628096154303.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dsm1472253642401
lifecycle
latest
Product Category
Teradata Vantageā„¢

A recursive query is a named query expression that references itself in its definition. The self-referencing capability provides a simple way to search a table using iterative self-join and set operations.

The recursive query feature reduces the complexity of the queries and enables them to execute more efficiently.

Recursive queries are implemented using the WITH RECURSIVE clause in the SELECT statement and the RECURSIVE clause in the CREATE VIEW statement.