|The client charset name. Not implemented.|
|Set protocol packet size. You should not need to set this parameter.|
|Command terminator, defaults to go.|
|-D||Database name on the server to use.|
|-e||Echo SQL input (usually in outputfile)|
|Specify an editor to invoke. Defaults to vi.|
|-F||FIPS mode ON. Server returns a message (but processes the query anyway) when it encounters a non-standard SQL command.|
|-g||Display a brief help message|
|Number of rows after which to repeat the column headers. Default is once per resultset.|
|Hostname of the client machine as it will be told to the server.|
|Name of the interfaces or freetds.conf file to use.|
|Name of script file, containing SQL.|
|How long to wait for the server to acknowledge a login attempt.|
|For errors of the severity level specified or higher, print only the message number, state, and error level. Below that level, print nothing.|
|-n||Suppress line numbers in echoed output.|
|Name of output file, holding result data.|
|-p||Prints performance statistics. Not implemented.|
|Database server password.|
|The column separator. Default is space. Shell metacharacters require quoting.|
|Database server to which to connect.|
|The query timeout, in seconds. How long to wait for a query to be processed. The default is indefinitely, or as determined by freetds.conf.|
|Database server login name.|
|-v||Display version and copyright.|
|How many characters wide to print the output. Defaults to 80.|
|-X||Use encrypted login. Not implemented in FreeTDS.|
|Sets the SYBASE environment variable. Not used by FreeTDS.|
|-Y||Use chained transactions.|
|Name of a language for fisqls prompts and messages. Cf. DBSETLNATLANG.|
fisql is a filter; it reads from standard input, writes to standard output, and writes errors to standard error. The -i, and -e options override these defaults.
fisql uses the DB-Library API provided by FreeTDS. It was first implemented using Sybases own library and continues to work with it. Before (and after) modifying it, it would be well to test it with Sybases library to assure compatibility between it and FreeTDS. EXIT STATUS
fisql exits 0 on success, and >0 if the server cannot process the query.
fisql will report any errors returned by the server, but will continue processing. In a production environment, this behavior may be insufficiently stringent. To make it extremely intolerant of errors, change the message and error handlers to call exit(3).
fisql first appeared in FreeTDS 0.65.
The fisql utility was written by
.An Nicholas S. Castellano Aq firstname.lastname@example.org Ns , who contributed it to the FreeTDS project under the terms of the GPL.
Requires the GNU readline library.