Created
February 27, 2012 06:22
-
-
Save bulain/1921891 to your computer and use it in GitHub Desktop.
sqlplus to run sql autmatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run_sql.bat | |
sqlplus system/system@xe @test.sql | |
# test.sql | |
set echo on; | |
spool test.log | |
...your sql | |
spool off; | |
exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment