I have small .bat file that logs on to Oracle 11g database using SQLPLUS and executes a .sql file. The problem I am getting is exiting SQLPLUS via the .bat file. Searching the internet, I was lead to believe leaving a line and then write EXIT, but this does not work.
So, my question is, how do I exit SQLPLUS via a .bat file?