How to interact with Oracle SQLPLUS using Windows Batch Script
It is tricky to work with sqlplus in Windows using batch program. Follow the tip below if you want to use batch script to run/access Oracle database using batch program.
How to interact with Oracle SQLPLUS using Windows Batch Script
It is tricky to work with sqlplus in Windows using batch program. Follow the tip below if you want to use batch script to run/access Oracle database using batch program.
smallwei 2:41 pm on February 10, 2010
Use the following format in your Windows batch program to interact with sqlplus:
Here is an example for you:
In the above example, you can expect the batch script to send the following commands to sqlplus: