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 the basic structure of an sql?

758


Why having clause is used in sql?

726


What are the advantages of indexing?

731


What is clause?

795


How to use distinct and count in sql query? Explain

769






What is nosql db?

712


Is record in oracle pl sql?

698


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

707


What is pl/sql language case sensitive?

828


Why we use sql profiler?

724


What are sql procedures?

761


How do I run a script in sql developer?

705


Is sql a programming?

718


What will you get by the cursor attribute sql%rowcount?

762


Where the sql database files are stored?

694