Link to home
Start Free TrialLog in
Avatar of kosenrufu
kosenrufu

asked on

How can I do this?

I want to create a temporary table called TempSKUs using a comma delimited text file named
"TestData" stored in C:\Test folder.

I want to use the temporary table linked to tables from a database on a server.

How can this be done?

Thanks
Avatar of MrNed
MrNed
Flag of Australia image

Two main ways:

1. Import the data into a table via SQL* Loader - http://www.orafaq.com/wiki/SQL*Loader_FAQ

2. Create an External Table which points to the file - http://www.orafaq.com/node/848
Avatar of kosenrufu
kosenrufu

ASKER

Can I create a temp table using a .csv file?
Yes, either of those methods I linked to can achieve it. The first one moves the data into the database, the second one allows the database to read the data which stays in the file.
Avatar of slightwv (䄆 Netminder)
They really don't create a 'temp' table.  The only thing in Oracle that resembles a temp table is a Global Temporary Table and even those are persistent database objects (The stay around).

I also want to point out that with external tables, the text file has to be on the database server.  Using sql*loader the file can be anywhere.
ASKER CERTIFIED SOLUTION
Avatar of swadhinray
swadhinray
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial