![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trying to create a script with multiple variables... | Italy87 | UNIX Desktop for Dummies Questions & Answers | 5 | 03-21-2008 10:09 AM |
| How to pass variables to FUNCTION ? | bh_hensem | Shell Programming and Scripting | 5 | 05-30-2007 11:54 PM |
| How to pass CSH variables up to the parent? | ElCaito | Shell Programming and Scripting | 0 | 11-29-2006 10:30 PM |
| how to pass variables surrounded in double quotes to awk? | cruiser | AIX | 4 | 03-24-2006 01:12 PM |
| How to pass Shell variables to sqlplus use them as parameters | Jtrinh | Shell Programming and Scripting | 1 | 07-13-2005 01:15 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Pass multiple variables to SQL script
I am trying to close of multiple users in an Oracle database. Each users has records in multiple tables what I need to do is use a script that call each SQL seperately passing either CLI arguments or gathered arguments from the users during run time.
## Accept variable(s) from the command line while test $1 do set emp_id = $1 echo "Enter Expiry Date: \c" read exp_dt echo "Enter Effective Date: \c" read eff_dt $HOME/sql_files/close_c.ksh $exp_dt $emp_id $eff_dt shift done Any ideas will be appreciated. |
| Forum Sponsor | ||
|
|