Defining Join Indexes with Inequality Conditions - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

You can define join indexes using inequality conditions.

To define inequality conditions between 2 columns of the same type, from the same table or from two different tables, you must AND the inequality conditions with the other join conditions.

This enables the Optimizer to resolve a request using a join index more frequently than otherwise possible, avoiding the need to access base data tables to retrieve the required data.