linux shell执行SQL脚本

#!/bin/sh
user="user"
pass="pass"
sqlplus -S $user/$pass 
  select 1 from dual;
exit;
posted @ 2015-07-15 14:25  songjinduo  阅读(758)  评论(0编辑  收藏  举报