Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use an input value in a sql file

Status
Not open for further replies.

newdb

Technical User
Jul 20, 2004
1
CA
Hi,
I'm trying use an user input value from a csh scriptfile in a sql file.
or more explicit I:
I use my script file something like this :
test.sh database1
cat test.sh
database=$1
isql -.....-i bo.sql
........
eof
need in this file bo.sql to be able to use same value of database as in test.sh...
How I will do this in bo.sql file ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top