[freetds] opt_flags in tsql.c
elias.probst at bechtle.com
Thu Nov 16 08:40:34 EST 2006
I'd like to be able to work with tsql in a more quiet mode. All I want to see
is the output returned by the SQL server when passing a sql-file to it.
e.g: tsql -S myserver -U foo -P bar < maxsize.sql
locale is "C"
locale charset is "ANSI_X3.4-1968"
1> use master
1> select name, maxsize from sysfiles
I just want to see an output like this:
so a searched a bit around in tsql.c and found some things (QUIET in
opt_flags) that seemed to do things like that, but I couldn't find a way
using this opt flags.
Also they only seem to hide the locale information, but not the input that's
made to the SQL shell.
Does anybody know how to do this?
Elias Probst, Bechtle GmbH & Co KG, IT-Systemhaus Rottenburg,
More information about the FreeTDS