![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing a variable inside a variable to a function | KingVikram | UNIX for Dummies Questions & Answers | 2 | 01-14-2008 04:28 PM |
| passing variable to my script | aladdin | UNIX for Dummies Questions & Answers | 5 | 06-18-2007 06:34 AM |
| Passing a variable into an awk script | Khoomfire | UNIX for Advanced & Expert Users | 5 | 09-05-2006 05:44 AM |
| variable passing to sed | Manish Jha | Shell Programming and Scripting | 2 | 08-18-2006 08:54 AM |
| Variable passing | whugo | UNIX for Dummies Questions & Answers | 2 | 01-25-2006 02:56 AM |
|
|
LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
||||
|
its an alternative but i am searching for a method which can pass the variable from shell script to the Sql's (have a lot of SQL's using the same variable 'current date' but doing different tasks and using a here document will make the script messy)
|
|
|||
|
I am not sure if this helps, but I pass vars from ksh script to oracle sql scripts using the following....
sqlplus -s $DBUSER/$DBPASS @my.sql > output.txt $SHELLVAR; Then from within my.sql file I reference the input var with '&1'. |
|||
| Google UNIX.COM |