OS Manuals

/usr/bin/isql

ODBC is an open specification to access Data Sources

From unixodbc 2.3.14-r4 (os), captured 2026-11-05 by running isql -help (exit 1) · terse output. permalink

**********************************************
* unixODBC - isql and iusql                  *
**********************************************
* Syntax                                     *
*                                            *
*      isql DSN [UID [PWD]] [options]        *
*                                            *
*      iusql DSN [UID [PWD]] [options]       *
*      iusql "Connection String" [options]   *
*                                            *
* Options                                    *
*                                            *
* -b         batch.(no prompting etc)        *
* -i         unverbose.(no help etc)         *
* -dx        delimit columns with x          *
* -x0xXX     delimit columns with XX, where  *
*            x is in hex, ie 0x09 is tab     *
* -w         wrap results in an HTML table   *
* -c         column names on first row.      *
*            (only used when -d)             *
* -mn        limit column display width to n *
* -v         verbose.                        *
* -lx        set locale to x                 *
* -q         wrap char fields in dquotes     *
* -3         Use ODBC 3 calls                *
* -n         Use new line processing         *
* -e         Use SQLExecDirect not Prepare   *
* -k         Use SQLDriverConnect            *
* -L         Length of col display (def:300) *
* --version  version                         *
*                                            *
* Commands                                   *
*                                            *
* help - list tables                         *
* help table - list columns in table         *
* help help - list all help options          *
*                                            *
* Examples                                   *
*                                            *
*      iusql -v WebDB MyID MyPWD -w < My.sql *
*                                            *
*      Each line in My.sql must contain      *
*      exactly 1 SQL command except for the  *
*      last line which must be blank (unless *
*      -n option specified).                 *
*                                            *
* Datasources, drivers, etc:                 *
*                                            *
*      See "man 1 isql"                      *
*                                            *
* Please visit;                              *
*                                            *
*      http://www.unixodbc.org               *
*      nick@lurcher.org                      *
*      pharvey@codebydesign.com              *
**********************************************
Options (16)
OptionDescriptionSource
-bRun 'isql' in non-interactive batch mode.man
-dDELIMITERDelimit columns with the specified delimiter.man
-xHEXDelimit columns with the character represented in hexadecimal by HEX.man
-wFormat the result as an HTML table.man
-cOutput the names of the columns on the first row.man
-mNUMLimit the column display width to NUM characters.man
-lLOCALESet the character locale to LOCALE.man
-qWrap the character fields in double quotes.man
-3Use calls from ODBC version 3.man
-nProcess multiple lines of SQL, terminated with the GO command.man
-eUse SQLExecDirect instead of Prepare.man
-kUse SQLDriverConnect.man
-vEnable verbose mode, fully describing all errors.man
-iEnable noverbose mode, the help text gone but does not disable prompts like the -b option.man
--versionDisplay the program version.man
-LNUMSet the maximum number of characters displayed from a character field to NUM.man
Examples (6) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.