GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  PL/SQL
Go To First  |  Previous Question  |  Next Question 
 PL/SQL  |  Question 133 of 146    Print  
Temporary Tables
How to create temporary table? Give some example


  
Total Answers and Comments: 2 Last Update: June 29, 2008     Asked by: senthilkumard 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ravi.8311
 
create table temp as select*from base table where 1=1;

Above answer was rated as good by the following members:
billablaze
March 20, 2008 12:26:28   #1  
venkat82.k Member Since: February 2008   Contribution: 6    

RE: Temporary Tables
Hi guys........
Temporary tables means which tables are hold data temporarly
i mean these holds the data certain time mainly only that session.
exp:-
  • create global temporary table employ(emp_id number(10),employ_name varchar2(20)) on commit delete/on commit preserve;
this is brief desc of temporary table okkkkkkkkkkk
any queries reanswer plsssss

 
Is this answer useful? Yes | No
June 28, 2008 08:09:29   #2  
ravi.8311 Member Since: June 2008   Contribution: 7    

RE: Temporary Tables
create table temp as select*from base table where 1=1;
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Latest Answer : Yes we can relate two tables from 2 diff usersE.g. if user A has table Ta  and User B has Table Tb  and Table Tb is child table and needs foreign key on A.Ta  then we need to grant "references" object privillege to User B on table ...
Read Answers (1) | Asked by : Shankar

What are the different types of collections supported in Oracle?PL/SQL datatypes TABLE and VARRAY, allow us to declare the collections nested tables, associative arrays, and variable-size arrays.

What is mutating trigger? How do you resolve it?If a trigger body is trying to update dependent tables, will it get a mutating error?
Read Answers (6) | Asked by : be17be

How to write a query or procedure or function to retrieve all the tables from database where the table dont have any data (no rows).
Database has 100 tables and some of the tables dont have any data. I want to pullout those table names from database in Oracle. 
Read Answers (3) | Asked by : Robert

For example: I have 100's of tables and I need to take the data from database and export as a xml file. 
View Question | Asked by : jakilati

For each hour, list the number of called, total transactions' values, and total duration?if you have these tables:1- 'calls'columns: called_number, Customer_ID, call_date, call_time_started, 
View Question | Asked by : mnmlove

How to create temporary table? Give some example 
Latest Answer : create table temp as select*from base table where 1=1; ...

How do you create nested tables? 
View Question | Asked by : jannaat


 Sponsored Links

 
Related Articles

How To Create High Quality Tables With JavaScript

How To Create High Quality Tables With JavaScript If you are web program developer it is likely that you are creating tables on a daily basis In this article I will show you how to create high quality tables with Javascript within a short period of time One feature that you will want to become famil
 

Oracle 10g Tutorials -Creating Index-Organized Tables

Oracle 10g Free Training Creating Index Organized Tables Let us learn about Creating Index Organized Tables by Creating an Index Organized Table further by Creating Index Organized Tables that Contain Object Types and also you will learn how to View Information about Tables mosgoogle Creating Index
 

Oracle 10g Tutorials: Altering Tables

Oracle 10g Free Training Altering Tables In this training you will learn about Altering Tables Modifying an Existing Column Definition Adding Table Columns Renaming Table Columns Dropping Table Columns Removing Columns from Tables Marking Columns Unused and Removing Unused Columns Oracle 10g Free Tr
 

Oracle 10g Tutorials : Dropping Tables

Oracle 10g Free Training Dropping Tables In this training you will learn about Dropping Tables Consequences of Dropping a Table CASCADE Clause and the PURGE Clause mosgoogle Dropping Tables To drop a table that you no longer need use the DROP TABLE statement The table must be contained in your schem
 

Oracle 10g Tutorials : Creating Tables

Oracle 10g Free Training Creating Tables In this training you will learn about Creating Tables and Parallelizing Table Creation mosgoogle Creating Tables To create a new table in your schema you must have the CREATE TABLE system privilege To create a table in another user s schema you must have the
 

Oracle 10g Tutorials: Tables

Oracle 10g Free Training Tables In this tutorial you will learn about Tables Summary of Oracle Built In Datatypes Types of tables Restrictions to consider when Creating Tables along with logical databse limits mosgoogle Tables Tables are the basic unit of data storage in an Oracle Database A table
 

Tutorial 6: Tables and Constraints

In week 6 of our Oracle 9i training course we will be learning about Data types with the differences between different Oracle versions creating tables altering tables droping tables Integrity constraints supported by Oracle Inserting records Modifying the records and deleteting the records If you ca
 

Tutorial 5: Working with Multiple Tables

This week we will learn Working with multiple Tables which covers Joins Inner Join; Using Table Aliases; Outer Join; Self Join; Non Equi Join Subqueries Simple Subqueries; Multilevel Subqueries; Correlated Subqueries; Predicates Set Operators Set Operator Examples mosgoogle Aliases An alias
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape