Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bsh => pl/sql



 Hi all.  I have a bash script and an sql script.  All works as I've made 
it but how could I combine them into one?  Here's an example. 

#!/bin/bash 

VAR1="$1" 
VAR2="$2" 

#some bash code here that outputs two variables 

-- now i want to switch into sql-land instead of listing the path to the 
sql file with two variables after it. 

/some/path/here/sqlplus $USR/$PASSWORD@ID 

begin 
   some_procedure(silly($1), eric($2)); 
end; 
/ 

It's not really important for me to get this done with one file, I was 
just wondering if it's possible. 

Thanks, 
Eric C. 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org