| FISQL(FreeTDS) | FreeTDS (freetds reference manual) | FISQL(FreeTDS) |
fisql —
interactive SQL shell
fisql |
[-eFgpnvXY] [-a
display_charset] [-A
packet_size] [-c
cmdend] [-D
database] [-E
editor] [-h
headers] [-H
hostname] [-i
inputfile] [-I
interfaces_file] [-J
client_charset] [-l
login_timeout] [-m
errorlevel] [-o
outputfile] [-P
password] [-s
colseparator] [-S
server] [-t
timeout] [-U
username] [-w
width] [-y
sybase_dir] [-z
language] |
fisql is very similar to the
‘isql’ utility programs distributed by
Sybase and Microsoft. Like them, fisql uses the
command ‘go’ on a line by itself as a
separator between batches.
-a
display_charset-A
packet_size-c
cmdendgo’.-D-e-E
editor-F-g-h
headers-H
hostname-I
interfaces_file-i
inputfile-J
client_charset-l
login_timeout-m
errorlevel-n-o
outputfile-p-P
password-s
colseparator-S
server-t
timeout-U
username-v-w
width-X-y
sybase_dirSYBASE environment variable. Not used by
FreeTDS.-Y-z
languagefisql 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 Sybase's own library and continues
to work with it. Before (and after) modifying it, it would be well to test
it with Sybase's 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
Nicholas S. Castellano
⟨entropy@freetds.org⟩, who contributed it to the FreeTDS
project under the terms of the GPL.
Requires the GNU readline library.
| March 25, 2015 | FreeTDS 1.3.17 |