The Content of a Global Temporary Table is Deleted When Another Table is Truncated From the Same Session
(Doc ID 1334454.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
This document describes what happens to a Global Temporary Table when a DDL command is used in the same session.
It explains, for instance, why a Global Temporary Table is emptied when a table - even though it is another - is truncated within the same session.
Please note that this is standard behavior as also documented in
Oracle® Database Administrator's Guide
11g Release 2 (11.2)
Part Number E17120-11
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|GTT (Global Temporary Table), COMMIT and DDL|