How to use sql*plus in Windows command script to control flow?

前端 未结 6 933
感动是毒
感动是毒 2020-12-28 22:58

I\'m trying to use sql*plus to control a small Windows command script.

Basically, I want to execute some PL/SQL (perhaps select from a view or table or execute a fun

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-28 23:37

    I encourage you to take a look at the two scripts included in the Oracle XE for backup and restore. These scripts have taught me a lot how to handle batch-scripting and Oracle on the Windows platform.

    • C:\oraclexe\app\oracle\product\11.2.0\server\bin\Backup.bat
    • C:\oraclexe\app\oracle\product\11.2.0\server\bin\Restore.bat

提交回复
热议问题