Sqluldr2 libclntsh.so報錯處理

Sqluldr2 libclntsh.so報錯處理linux

 

 

 

 

處理報錯sql

[oracle@oracledg tmp]$ ./sqluldr2linux64.binoracle

./sqluldr2linux64.bin: error while loading shared libraries: libclntsh.so: cannot open shared object file: No such file or directoryapp

 

 

[root@oracledg ~]# cp /u01/app/oracle/product/11.2.0.3/db_1/lib/libclntsh.so /usr/lib64/oop

 

 

 

 

 

導出語句spa

請注意最後必定得在對應目錄下blog

 

[oracle@oracledg nod]$ ls -lh
total 4.0K
drwxr-xr-x 2 oracle oinstall 4.0K Jan 17 14:25 tmpit

 

 

[oracle@oracledg tmp]$ ./sqluldr2linux64.bin sys/orcl query=sys.vm_info file=/nod/tmp/vm_info.txt
0 rows exported at 2019-01-17 14:24:14, size 0 MB.
696320 rows exported at 2019-01-17 14:24:16, size 50 MB.
output file /nod/tmp/vm_info.txt closed at 696320 rows, size 50 MB.
[oracle@oracledg tmp]$ ls
sqluldr2linux64.bin sys.vm_info_sqlldr.ctl vm_info.txttable

 

 

###模擬建立100條語句sed

create table nod (id int)

beginfor i in 1 .. 100 loop insert into nod (id) values (i); end loop;end;

相關文章
相關標籤/搜索