Tabela tymczasowa - Tworzenie

Tworzenie tabeli prywatnej, która po commit zniknie

create private temporary table ORA$PTT_tab_testowa (id int) on commit drop definition


Tworzenie tabeli prywatnej, ktora po commit pozostanie, ale zniknie po zakończeniu sesji

create private temporary table ORA$PTT_tab_testowa (id int) on commit preserve definition


Tworzenie tabeli globalnej, która po zakończeniu sesji będzie istniała, ale utraci dane po wykonaniu commit

create global temporary table tab_testowa3 (id int)


tabtemp

Tags: