Shell调用sqlplus各种情况
1、最简单的shell里调用sqlplus
$ vi test1.sh
#!/bin/bash
sqlplus -S /nolog > result.log <<EOF
set he
2012-08-19