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?