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

What is %rowtype in pl sql?

923


How do you copy a table in sql?

1013


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

906


how to calculate expressions with sql statements? : Sql dba

980


What is an escape character in sql?

979


What is the usage of distinct keyword?

1018


How do you explain an index number?

1022


Why use triggers in sql?

894


what is the difference between nested subquery and correlated subquery?

986


How do you declare a user-defined exception?

962


What is sql profiling in oracle?

995


What is your daily office routine?

2216


What is the difference between in and between in sql?

994


how can we repair a mysql table? : Sql dba

914


what is timestamp in mysql? : Sql dba

1001