|
**************
Get the input from the user say '123' (It varies)
Then i want to connect to a database say "D1"
then i want th extract from the database by giving "select * from tablename where input = '123'
I also want to connect to another database "D2"
then i want th extract from the database by giving "select * from tablename where input = '123'
output should be displayed on the screen as it is when i execute the select statements individually.
********************************
This is what i want to do in a script
Can you show a script for that(For eg)?
|