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
"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
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.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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