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
What are data types in pl sql?
Is inner join same as self join?
What is the difference between having and a where in sql?
what are the advantages and disadvantages of views in a database? : Sql dba
Why plvtab is considered as the easiest way to access the pl/sql table?
What are different types of queries in sql?
What are the datatypes available in pl/sql ?
Is merge a dml statement?
What is type and rowtype in pl sql?
how to add a new column to an existing table in mysql? : Sql dba
Which kind of parameters cannot have a default value in pl sql?
How can we solve sql error: ora-00904: invalid identifier?
What is string join?
what is the difference between blob and text? : Sql dba
Explain how to use transactions efficiently : transact sql