 |
|
 |
Oracle Database Scripts
External Tables (Oracle 9i+ feature): The Script: -- Create the Directory and grantscreate directory mydir as '/export/home/external' ; grant read on directory grant read on directory mydir to ; grant write on directory mydir to user with directory>;
-- Create the table create table {user}.{table name} (c1 number, c2 number, c3 number) organization external (type oracle_loader default directory mydir access parameters (records delimited by newline badfile 'datafile_bad.log' nologfile fields terminated by ',') location ('datafile.dat'));
Donate 5$If you found this information useful, don't be cheap, donate 5 dollars (with PayPal):
|
|
 |