Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is global table

Answers were Sorted based on User's Feedback



what is global table..

Answer / pooja

Global temporary tables
All data stored in a global temporary table is private to
the session that has inserted (or updated) it.
Other sessions can't see this data. Global temporary tables
come in two flavors:
on commit preserve rows and on commit delete rows.
DDLs (such as drop table) on a on commit preserve rows lead
to a ORA-14452
when the session has already made a DML on the table.
Object tables

Is This Answer Correct ?    12 Yes 1 No

what is global table..

Answer / rk

Global temporary tables are distinct within SQL sessions.

The basic syntax is:

CREATE GLOBAL TEMPORARY TABLE table_name ( ...);

Is This Answer Correct ?    9 Yes 0 No

what is global table..

Answer / naresh reddy

The statement to create a global temporary table (GTT) is similar to the definition of an ordinary table with the addition of the keywords GLOBAL TEMPORARY. In the clause ON COMMIT, you specify if a table is bound to a transaction (DELETE ROWS) or to a session

Is This Answer Correct ?    1 Yes 0 No

what is global table..

Answer / vijay

1.global temporary table is a schema object
2.global temporary table record is store in session level but not store in database
3.global temporary table structure of the table is store in database but record not store in database
4.global temporary table record not shown one session to another session level
5.it is used reporting purpose temporarily record saved in session level
Two types
1.on commit delete rows( all records deleted structure of table only shown)
2.on commit preserve rows(record saved in session level (once login &logout record gone)
create global temporary table table_name on commit preserve rows as select * from employees;

Is This Answer Correct ?    0 Yes 0 No

what is global table..

Answer / subhendu

Features:
1. 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.

2. Data in temporary tables is automatically delete at the
end of the database session, even if it ends abnormally.

3. 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.

4. Views can be created against temporary tables and
combinations of temporary and permanent tables.

5. 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.

Is This Answer Correct ?    5 Yes 7 No

what is global table..

Answer / rajeev kumar

A global table is a dummy table. which is available until
the sql server is on.

Is This Answer Correct ?    0 Yes 7 No

what is global table..

Answer / harshali

global table is access by all users

Is This Answer Correct ?    0 Yes 16 No

Post New Answer

More SQL PLSQL Interview Questions

Can we use more than one null value for unique key?

31 Answers   A1 Technology, Wipro,


What is the result, when NULL is compared with NULL?

22 Answers   TCS,


What is record variable?

0 Answers  


Where is pl sql used?

0 Answers  


Can procedure in package be overloaded?

0 Answers   EXL,


what are the advantages of sql ? : Sql dba

0 Answers  


How does one use sql*loader to load images, sound clips and documents? : aql loader

0 Answers  


What are the different types of dbms?

0 Answers  


What is scalar and vector?

0 Answers  


What is delimiter in pl sql?

0 Answers  


How to rename a table?

0 Answers  


can i give user defined exception in a package

2 Answers  


Categories