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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQLPlus Command Script

Status
Not open for further replies.

drkestrel

MIS
Sep 25, 2000
439
0
0
GB
I know that the following could invoke a command script-
Code:
sqlplus userID/password @scriptName.sql

However, could I actually just invoke a script (that simply do some inserts/deletes) and then
Code:
exit
automatically?
 
Just trying Writing Exit at the end of scriptName.sql
I mean
sqlplus scott/tiger @r.sql

Where as r.sql may b

select * from dual;
exit;
Rishiu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top