sqlplus怎么与shell结合
可以用如下的写法 sqlplus /nolog << EOF connect user/pass spool test select * from tab; spool off exit EOF
当然,RMAN也支持这样的写法。