- 论坛徽章:
- 0
|
一行一行的运行如下:
[root@host2 ~]# mv /root/stu.dat /home/oracle/
[root@host2 ~]#
[root@host2 ~]# chown oracle.dba /home/oracle/stu.dat
[root@host2 ~]# su - oracle
[oracle@host2 ~]$ source ~/.bash_profile
[oracle@host2 ~]$ /oracle2/product/10.2/bin/sqlldr userid=scott/scott@orcl2 control=/home/oracle/11.ctl
SQL*Loader: Release 10.2.0.1.0 - Production on ææä¸ 2æ 8 14:55:48 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 3
Commit point reached - logical record count 4
[oracle@host2 ~]$ exit
logout
整体运行如下:
[root@host2 ~]# ./11.sh
[oracle@host2 ~]$
[oracle@host2 ~]$ exit
logout
SQL*Loader: Release 10.2.0.1.0 - Production on ææä¸ 2æ 8 14:58:27 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-500: Unable to open file (stu.dat)
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
|
|