I have a .sql file, which is a bunch of oracle pl/sql commands and I want to create a shell script to run these commands. Suppose that user/pass@server is my ...
It prints code's line number, and it probably prints it when you hit enter. The reason for such a behavior is probably your myscript.sql file contains not ...
To run sql script in sqlplus you need to do it on this way: #!/bin/bash sqlplus / as sysdba <<EOF select * from dual; exit EOF or you can put sql commands in ...