[freetds] Hiding password in fisql and bsqldb

Peter Chase pchase at digitalriver.com
Mon Dec 22 16:26:24 EST 2008


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


More information about the FreeTDS mailing list