输入banner图图片脚本导航/分类

shell执行oracle sql脚本

[oracle@test tmp]$ more sql
#!/bin/sh
sqlplus test/test@tnsname.test.com << EOF
@/tmp/sqlcreate.sql
exit;
EOF
 
[oracle@test tmp]$ more /tmp/sqlcreate.sql 
create table test6 (id number);
insert into test6 values (1);

shell执行oracle sql脚本

标签:sqlplus   ber   shel   执行   nbsp   eof   sql脚本   exit   tab