BSQLODBC(1)
π¦ NAME β BSQLODBC(1) π¦
okay so bsqlodbc is the batch SQL script processor using ODBC, and this is its local manual page, bestie. π
β¨ SYNOPSIS β¨
bsqlodbc [-hqv] [-U username] [-P password] [-S server] [-D database]
[-i input_file] [-o output_file] [-e error_file]
[-t field_term] [-V odbc_version]
π DESCRIPTION π
bsqlodbc is a utility program distributed with FreeTDS. π«Ά
It's the non-interactive equivalent of the isql utility programs distributed by Sybase and Microsoft. Like them, bsqlodbc uses the command go on a line by itself as a separator between batches. The last batch need not be followed by go. No cap. π
bsqlodbc makes use of the ODBC API provided by FreeTDS. This API is of course also available to application developers. slay. β¨
π OPTIONS π
-Uusername β Database server login name. π«Ά-Ppassword β Database server password. π-Sserver β Database server to which to connect. π-Ddatabase β Database to use. ποΈ-iinput_file β Name of script file, containing SQL. π-ooutput_file β Name of output file, holding result data. π€-eerror_file β Name of file for errors. π¨-tfield_term β Specifies the field terminator. Default is two spaces (). Recognized escape sequences are tab (\t), carriage return (\r), newline (\n), and backslash (\\). β¨-hβ Print column headers with the data to the same file. π·οΈ-qβ Do not print column metadata, return status, or rowcount. Overrides-h. π€«-vβ Verbose mode, for more information about the ODBC interaction. This also reports the result set metadata, including and return code. All verbose data are written to standard error (or-e), so as not to interfere with the data stream. π-Vodbc_version β Specify ODBC version (2or3). ποΈ
πΈ NOTES πΈ
bsqlodbc 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. periodt. π
π₯ EXIT STATUS π₯
bsqlodbc exits 0 on success, and >0 if the server cannot process the query. π«‘
π HISTORY π
bsqlodbc first appeared in FreeTDS 0.65. iconic. π
π AUTHORS π
The bsqlodbc utility was written by James K. Lowden <jklowden@freetds.org>. π«Ά
this local page is from FreeTDS 1.5.20, dated March 25, 2015, and it's the BSQLODBC(FreeTDS) manual β mwah π
π¦ 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