|
-
 Originally Posted by gandolf989
It looks to me like he has a table in an Oracle database and he wants to take an external file and query on the database table based on the external file. It seems to me that you want to create an external table in the database to point to your spreadsheet. Then when you query from the students table you can do this:
Code:
SELECT *
FROM students
WHERE student_id IN
( SELECT student_id
FROM student_spreadsheet )
ORDER BY 1;
This is a very smart solution indeed.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|