FISQL(1)
π FISQL(1) π
okay bestie, welcome to FISQL(1), a LOCAL manual page. This is the interactive SQL shell, and it's ready to be your main character. π
β¨ NAME β¨
fisql β interactive SQL shell.
πΈ SYNOPSIS πΈ
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]
π¦ DESCRIPTION π¦
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. periodt β that's the whole vibe. π
π OPTIONS π
-a display_charsetβ The client charset name. Not implemented.-A packet_sizeβ Set protocol packet size. You should not need to set this parameter.-c cmdendβ Command terminator, defaults togo.-Dβ Database name on the server to use. (the synopsis shows this one as-D database, iykyk)-eβ Echo SQL input (usually inoutputfile).-E editorβ Specify an editor to invoke. Defaults tovi.-Fβ FIPS mode ON. Server returns a message (but processes the query anyway) when it encounters a non-standard SQL command. not it being strict but still doing the thing π-gβ Display a brief help message.-h headersβ Number of rows after which to repeat the column headers. Default is once per resultset.-H hostnameβ Hostname of the client machine as it will be told to the server.-I interfaces_fileβ Name of the interfaces orfreetds.conffile to use.-i inputfileβ Name of script file, containing SQL.-J client_charsetβ Not implemented.-l login_timeoutβ How long to wait for the server to acknowledge a login attempt.-m errorlevelβ 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.-o outputfileβ Name of output file, holding result data.-pβ Prints performance statistics. Not implemented.-P passwordβ Database server password.-s colseparatorβ The column separator. Default is space. Shell metacharacters require quoting.-S serverβ Database server to which to connect.-t timeoutβ The query timeout, in seconds. How long to wait for a query to be processed. The default is indefinitely, or as determined byfreetds.conf.-U usernameβ Database server login name.-vβ Display version and copyright.-w widthβ How many characters wide to print the output. Defaults to80.-Xβ Use encrypted login. Not implemented in FreeTDS.-y sybase_dirβ Sets theSYBASEenvironment variable. Not used by FreeTDS.-Yβ Use chained transactions.-z languageβ Name of a language forfisql's prompts and messages. Cf.DBSETLNATLANG.
π NOTES π
fisql is a filter; it reads from standard input, writes to standard output, and writes errors to standard error. The -i, -o, 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).
π HISTORY π
fisql first appeared in FreeTDS 0.65.
π AUTHORS π
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.
π§ BUGS π§
Requires the GNU readline library.
xoxo, your local FISQL(1) girlie β this page came from FreeTDS 1.5.20, dated March 25, 2015, and the footer manual name is FISQL(FreeTDS) ππ«Ά
π¦ where this page comes from
- arch rolling: freetds 1.5.20-1 Β· GPL-2.0-only AND LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms