troubleshooting Question

Reading file on client machine as an external table

Avatar of gs79
gs79 asked on
Oracle Database
6 Comments2 Solutions1798 ViewsLast Modified:
The oracle is installed on a unix server. And I have oracle client on my local .

I have created a directory on local machine as follows..


CREATE OR REPLACE DIRECTORY ext AS 'c:\external';

and i have defined the external table xyz and specified 'Default directory' as 'ext'

now when i query the external table it throws following error:

ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file large_seller.dat in EXT not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19

now when I change the EXT definition to a unix directory ('/staging/external')and place my file there it works fine..

My question is whether the file should be present only on the machine where oracle is installed?

Is there a way to read the file on local machine as external table? is the way I am specifying the local directory 'c:\external' correct?

Please help..

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros