Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running shell script to start sqlplus and run a qls script

Status
Not open for further replies.

1971240z

Technical User
Jul 24, 2002
20
US
Hi,

I am trying to write a unix shell script that starts sqlplus and then run a sql script.

What I have tryed is:

#
#
sqlplus /
@ file.sql

#
#

When I run the script it starts sqlplus, but is does not run the next line till I exit sqlplus.

Can anyone help me out with this?

Regards,
 
Why don't you pass script name as parameter at the same line? Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top