File: isql.1

package info (click to toggle)
unixodbc 2.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,524 kB
  • ctags: 7,656
  • sloc: ansic: 89,405; sh: 15,975; makefile: 1,574; yacc: 969; sql: 1
file content (60 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.TH isql 1 "Dec 2004" UnixODBC "UnixODBC Reference"
.SH NAME
isql \- utility to submit SQL queries to a data source.
.br
iusql \- Unicode version of isql.
.SH SYNOPSIS
.B isql
DSN [UID [PWD]] [options]
.br
.SH DESCRIPTION
.I isql
can be used to submit SQL to a data source and to format/output results.
It can be used in batch or interactive mode.
.br
.SH OPTIONS
.TP
.B DSN
Name of the data source you want to connect to.
.TP
.B UID
Your login to connect the DSN.
.TP
.B PWD
Your password needed to login to the DSN.
.TP 
.B \-b
Batch mode.
It will not do any prompting.
.TP
.B \-dx
Delimit columns with x.
.TP
.B \-x0xXX
Delimit columns with XX, where XX is in hex.
For example -x0x09 will use a tab.
.TP
.B \-w
Wrap results in an HTML table
.TP
.B \-c
Print column names on first row.
This options only has effect in combination with the -d option.
.TP
.B \-mn
Limit column display width to n
.TP
.B \-v
Verbose output.
.TP
.B \-\-version
This prints the version.
.SH EXAMPLES
.TP
.I cat My.sql | isql WebDB MyID MyPWD -w
Each line in My.sql must contain exactly 1 SQL command except for the
last line which must be blank.
.SH AUTHOR
This manual page was written by Kurt Roeckx <kurt@roeckx.be>
for the Debian package of unixODBC.