Embeding commands for remote database

Embeding commands for remote database

 

  


I am currently running script that excute commands on other servers, is there an
easy way to put the command directly in the script, instead of putting it in
another file. I want to be able to pass a balue to the sql that it is excuting
instead of the "START" i would just like to put the commands there.

This is what i currently do
sqlplus -s 2>&1 << ENDSQL
id/[Email Address Removed] sqlfile
ENDSQL


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Oracle LazyDBA home page