Queue Tables and UPDATE (Upsert Form) - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

The best practice is to avoid using the UPDATE statement on a queue table because the operation requires a full table scan to rebuild the internal queue table cache. Reserve this statement for exception handling.

An UPDATE statement cannot be in a multiple-statement request that contains a SELECT and CONSUME request for the same queue table.

See Queue Table Cache.