isql(1) utility to submit SQL queries to a data source.


isql DSN [UID [PWD]] [options]


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.


Name of the data source you want to connect to.
Your login to connect the DSN.
Your password needed to login to the DSN.
Batch mode. It will not do any prompting.
Delimit columns with x.
Delimit columns with XX, where XX is in hex. For example -x0x09 will use a tab.
Wrap results in an HTML table
Print column names on first row. This options only has effect in combination with the -d option.
Limit column display width to n
Verbose output.
This prints the version.


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.


This manual page was written by Kurt Roeckx <[email protected]> for the Debian package of unixODBC.