Hiding password in fisql and bsqldb

"Peter Chase" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <BB433306F449CD42BB0F5A06B2B49D0D24A4F8@dc1mailbox03.mpls.digitalriver.com>
Hi,

I'm trying to use fisql and bsqldb in a bash script and I'm having
problems finding a way to hide the password from the ps command without
requiring user input.  For sqlplus with Oracle I can do this:

sqlplus username <<EOF
password
select sysdate from dual;
EOF

However that does not work with either fisql or bsqldb.  All other
attempts have also failed.  Any ideas?

-Pete
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.