create table ext_table_dat (
i Number,
)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delimited by newline
fields terminated by ','
missing field values are null
)
location ('$AI_SERIAL/file.dat')
)
reject limit unlimited;
Without creating directory in oracle. Can I use the above code to create an external table. Because my file.dat
is located in another server, its path is $AI_SERIAL/file.dat
.