exit from sqlplus

July 12, 2010 at 02:26:19
Specs: Windows XP
I have a batch file with this i am able to connect to sqlplus and execute the script and also I can log the output also. but the problem is I am not able to exit sqlplus. In the file i have given as
sqlplus usr/pwd@database @test.sql >>c:\test\test.log exit. I need to exit the sql after writing the output to test.log from the sql and should promt in dos window.

See More: exit from sqlplus

Report •

July 29, 2010 at 13:48:06
All of the SQL commands you want to run should be contained in your file test.sql

Include this as your last line in test.sql file:


That should take care of it.

Report •
Related Solutions

Ask Question