Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is GLOBAL TEMPORARY TABLE and It's significance ?

Answers were Sorted based on User's Feedback



What is GLOBAL TEMPORARY TABLE and It's significance ?..

Answer / pradeep

Creation of Global Temporary Tables
The data in a global temporary table is private, such that
data inserted by a session can only be accessed by that
session. The session-specific rows in a global temporary
table can be preserved for the whole session, or just for
the current transaction. The ON COMMIT DELETE ROWS clause
indicates that the data should be deleted at the end of the
transaction.

CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT DELETE ROWS;

In contrast, the ON COMMIT PRESERVE ROWS clause indicates
that rows should be preserved until the end of the session.

CREATE GLOBAL TEMPORARY TABLE my_temp_table (
column1 NUMBER,
column2 NUMBER
) ON COMMIT PRESERVE ROWS;

Miscellaneous Features

* If the TRUNCATE statement is issued against a
temporary table, only the session specific data is trucated.
There is no affect on the data of other sessions.
* Data in temporary tables is automatically delete at
the end of the database session, even if it ends abnormally.
* Indexes can be created on temporary tables. The
content of the index and the scope of the index is that same
as the database session.
* Views can be created against temporary tables and
combinations of temporary and permanent tables.
* Temporary tables can have triggers associated with them.
* Export and Import utilities can be used to transfer
the table definitions, but no data rows are processed.
* There are a number of restrictions related to
temporary tables but these are version specific.

Is This Answer Correct ?    19 Yes 1 No

What is GLOBAL TEMPORARY TABLE and It's significance ?..

Answer / sumeet

Well said pradeep. thank you

Is This Answer Correct ?    3 Yes 1 No

What is GLOBAL TEMPORARY TABLE and It's significance ?..

Answer / santhi

Thank u pradeep

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More Oracle Apps Technical Interview Questions

in ap_terms table what data will be stored

2 Answers   Wipro,


Steps for DFF registration

2 Answers   IBM, Savvis, Wipro,


After execution of a report we get parameter layout where we have enter From_date and To_date.After entering From_date and without entering To_date what happen a report will execute or not?

2 Answers   HCL,


Can you differentiate between mediator and osb?

0 Answers  


suppose you want to use a trigger in existing standard apps form and its not available in personalization neither in custom.pll. How you will address the issue ?

3 Answers   Oracle,






How to move the one file from one instance to another instance? And your scripts also?

0 Answers  


what are the important table names in purchasing?

3 Answers   TCS,


tell me the scenarios of between pages in reports

1 Answers   TCS, Wipro,


what is aim methodolozy

1 Answers   Wipro,


differentiate between intra & inter UOM class conversion with examples.

1 Answers   Scan Steel,


Can you have two functions with the same name in a pl/sql block?

5 Answers   TCS,


Is it is necessary to create P_CONC_REQUEST_ID parameter in the development of oracle apps reports

2 Answers  






Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (791)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)