Hi,
I am trying to run a sql command on another host which has multiple environments. I must run a script on the remote host to set the environment variables so I am running the sql command against the proper database. I am having some issues with getting output. any suggestions out there?
example:
ssh p690lp4 /u/applmgr/chg_mgmt_env INTFAPPS ; sqlplus apps/<password> select name from v$database
I am trying to run a sql command on another host which has multiple environments. I must run a script on the remote host to set the environment variables so I am running the sql command against the proper database. I am having some issues with getting output. any suggestions out there?
example:
ssh p690lp4 /u/applmgr/chg_mgmt_env INTFAPPS ; sqlplus apps/<password> select name from v$database