What are Global Temporary tables

Answer Posted / subbu

Global temporary tables belongs to that session only

create global temporary table test_gbl
( l_number_no number,
l_char_vc varchar2(100)
) [on commit delete rows]

ON COMMIT DELETE ROWS:- It's a default one
If any commit will issued that total data of a table will
losses. But table is exit

To overcome this we have option
ON COMMIT PRESERVE ROWS:-
means, If commit will issue the data of a table willn't loss
up to end of the session. Is session ends the data will losses.

Regards
Subbu

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between cluster and non cluster index? : Sql dba

550


Why join is faster than subquery?

597


How many commands are there in sql?

545


Does normalization improve performance?

552


How to write html code in pl sql?

577






Are there any features that are decommissioned in 11g that are not present in 11g?

1589


who introduced sql?

566


Does sap use sql?

513


Do prepared statements prevent sql injection?

526


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

522


Should I use mbr or gpt?

538


What are different categories of sql commands?

630


explain about mysql and its features. : Sql dba

543


what is recursive stored procedure? : Sql dba

524


Explain what is sql?

604