在linux下如何自动执行oracle命令? vi back.sh sqlplus sys/oracle as sysdba shutdown immediate wq

日期:2021-06-07 12:14:30 人气:1

在linux下如何自动执行oracle命令? vi back.sh sqlplus sys/oracle as sysdba shutdown immediate wq

vi shutdown.sh
sqlplus -S -L sys/${pass_word}@${MAS639_SID} AS sysdba @/tmp/shutdown.sql

vi shutdown.sql
shutdown immediate;
startup;
    A+
热门评论