![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell script query | max29583 | UNIX for Dummies Questions & Answers | 4 | 08-07-2008 07:09 AM |
| C Shell Script query | bpupdown | Shell Programming and Scripting | 1 | 05-13-2008 08:38 PM |
| Need Unix script for executing oracle query | ravi gongati | Shell Programming and Scripting | 14 | 03-24-2008 05:53 AM |
| Execute oracle query determined at runtime from a unix script | infyanurag | Shell Programming and Scripting | 4 | 02-01-2008 07:54 AM |
| Perl script variable passed to Oracle query | rahulrathod | Shell Programming and Scripting | 1 | 05-30-2007 09:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
run oracle query remotly with shell script
hello
how to run shell script to excute oracle queries on remote db ? i have tried as following sqlplus -s user/password@remote_server "select query;" but not working also this one sqlplus -s user/password@remote_server `select query;` not working ![]() i add this line to run another .sql file like this one : sqlplus -s user/password@remote_server /oracle.sql but also not working thanks to help how to do that and excute the data regards |
|
||||
|
the script should run to excute sql query on remote machine..
solution sqlplus -s user/password@${ORACLE_SID} 'select query;' not working ,. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified i added the tns name for the remote machine after $remote_server but not working |
|
||||
|
Hello
thanks for ur support it works like the follwoing sqlplus -s user/password@remote_server @sql.file and in the sql.file i add all queries i wants ,, thanks man for ur support ![]() ---------- Post updated at 02:23 PM ---------- Previous update was at 02:19 PM ---------- Quote:
regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|