in browser type url ip-Of-Server:1158/em/console/
- in browser type url ip-Of-Server:1158/em/console/
- login there
- go to Schema-> Directory Objects
- click the "create" Button
- fill in the form
* Name DIR_WLIST * Path
/tmp/test_v_dir - now thru ftp client (or putty ) create a file test.txt in /tmp/test_v_dir/
- then go to sqlplus
- type in follwing query
create table XTERN_test( student_name varchar2(100) )
organization external (
type oracle_loader
default directory DIR_WLIST
access parameters (
records delimited by newline
)
location ('test.txt')
)
reject limit unlimited;
No comments:
Post a Comment