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

How to export the table data (this table having 18 million
records) to .csv file. Please tell me is there any faster
way to export the data.

Answer Posted / maumita bandyopadhyay

We can use External table to extract data from data base
to .csv file. External table of TYPE ORACLE_DATAPUMP will
do.

Syntax is:
CREATE TABLE <ext_table_name>
ORGANISED EXTERNALLY
(
TYPE ORACLE_DATAPUMP
DEFAULT DIRECTORY <directory_name>
LOCATION <filename.dat>
)
AS SELECT * FROM <internal_table_name>

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use like conditions? : Sql dba

1165


Which is better trigger or stored procedure?

1014


Which is faster count (*) or count 1?

1088


What is a trigger word?

1077


Explain the difference between 'between' & 'and' operators in sql

1044


What does rownum mean in sql?

1089


What is basic structure of pl sql?

1130


what is the difference between truncate and drop statements? : Sql dba

1179


Is it possible to create the following trigger: before or after update trigger for each row?

1352


What are the different types of constraints?

1276


How do sql databases work?

1045


What is java sql connection?

1120


What are %type and %rowtype for?

1106


what are numeric data types? : Sql dba

1111


how to dump a table to a file with 'mysqldump'? : Sql dba

1098