15.00 - Considerations for Populating an Unpopulated Queue Table in a Delayed State - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1184-015K
Language
English (United States)

Considerations for Populating an Unpopulated Queue Table in a Delayed State

One or more sessions could be in a delayed state waiting for rows to be inserted at the time you populate an unpopulated queue table. Without regard to fairness, Teradata Database reinstates 1 or more of those delayed sessions, up to the number of rows inserted into the table, to enable them to continue their consume mode requests.

 

IF you are in this session mode …

THEN you must issue the following statement following any INSERT requests to make those rows visible to any delayed sessions …

ANSI

COMMIT

Teradata

  • SEMICOLON character (implicit transaction)
  • END TRANSACTION statement terminated with a SEMICOLON character (explicit transaction)