want to run multiple SQL script file in one go with in SQLPLUS

后端 未结 8 656
陌清茗
陌清茗 2021-02-05 23:14

I have to run multiple SQL script file in one go.

Like every time i have to write command in SQLPLUS

SQL>@d:\\a.txt 
SQL>@d:\\a2.txt
SQL>@d:\\a3.txt
SQL>@d:\\         


        
8条回答
  •  情书的邮戳
    2021-02-05 23:54

    It might be worth the time to write a shell script that runs multiple files.

    #!/bin/ksh
    sqlplus user/password@instance <

    For more on the syntax, look into Here Document

提交回复
热议问题