1.

Solve : Running sql*PLUS with a batch file?

Answer»

Hello!

I have posted this question up before but nobody has replied to it so I have titled it differently and will phrase the question differently to see if ANYONE can help!?!

I am opening sql*PLUS in the cmd with a batch FILE, but I want to pass COMMANDS to sql*plus through the batch file. I cannot figure out how to do this as whatever I do, the batch file pauses until i manually exit sql*plus, and then the batch file continues to run as normal!

Any help would be much appriciated!

Thanks!I have found the solution to this problem! To pass commands to sql*plus, I entered the commands into a text file and saved it with the extention .sql. I then called the .sql file in the BATCH file and it worked! job done!



Discussion

No Comment Found