![]() |
|
|
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 |
| Need shell script to read two file at same time and print out in single file | sreedhargouda | Shell Programming and Scripting | 10 | 03-16-2009 01:36 PM |
| How can i pass a file from unix to oracle?? | vidyadhar85 | UNIX for Advanced & Expert Users | 1 | 06-28-2008 08:01 PM |
| How transfer sql file from one serverto another without username and password | Arpitmitm | AIX | 1 | 06-01-2008 03:52 AM |
| how to pass values from oracle sql plus to unix shell script | trichyselva | UNIX for Dummies Questions & Answers | 2 | 02-24-2006 10:19 AM |
| How to pass a oracle variable back to the shell script | Jtrinh | UNIX for Dummies Questions & Answers | 3 | 07-11-2005 03:07 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Dear All
I am trying to write one shell which will be running through Cron which contain one SQL query. But I want to draw/fetch the Username password and Instance name (required to loging to the database) from one single file to run that SQL query . Also this file contain details of multiple Database. so How can i acheive that. username password is diffrent for diffrent DB's . Please anybody help me out. |
|
||||
|
It is wise to not reveal the password to anybody who is able to run a ps -ef | grep sqlplus command. Therefore: Code:
$ORACLE_HOME/bin/sqlplus -s << SQLEND connect $APP_USER @$HOME/sql/your_SQL.sql quit SQLEND |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|