linux shell执行SQL脚本

#!/bin/sh
user="user"
pass="pass"
sqlplus -S $user/$pass 
  select 1 from dual;
exit;

转载于:https://www.cnblogs.com/songjinduo/p/4648217.html

你可能感兴趣的:(linux shell执行SQL脚本)