Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
> -----Original Message----- > From: Tom Metro [mailto:[hidden email]] > Sent: Monday, December 31, 2007 3:48 PM > To: Eric Chadbourne > Cc: L-blu > Subject: Re: bsh => pl/sql > > Eric Chadbourne wrote: > > ...how could I combine them into one? > > > > VAR1="$1" > > VAR2="$2" > > ... > > /some/path/here/sqlplus $USR/$PASSWORD@ID > > Does sqlplus accept SQL via STDIN? If so, you can echo the > statements and pipe them to the command or use heredoc syntax. > > If you want to see a very large bash script that interacts > with MySQL in this way, have a look at mythnuv2mkv: > http://web.aanet.com.au/auric/?q=node/6 > > -Tom
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |