摘要: 一、最简单的shell里调用sqlplus.$ vi test1.sh#!/bin/bashsqlplus -S /nolog > result.log result.log u_test.txt$ chmod g-rwx,o-rwx u_test.txt$ vi test6.sh#!/bin/bashPASSWD=`cat u_test.txt`sqlplus -S /nolog <<EOFconn u_test/$PASSWDselect * from tab;exitEOF$ chmod +x test6.sh$ ./test6.sh--End-- 阅读全文