Sambar Server Documentation

Interactive ODBC Utility (iodbc)


Overview
The Sambar Server includes an interactive ODBC utility (iodbc) for use in testing your ODBC datasource configuration and SQL statements. The iodbc utility was modeled after Sybase's isql utility. A sample script for logging into an ODBC datasource session is given below:

iodbc -Uadmin -Padmin -Stest
1> select count(*) from authors
2> go
 Expr1000
 -----------
 3

 (1 row returned)
1> quit

Command Parameters
Command line parameters supported by iodbc:

-U usernameUser ID
-P passwordUser password
-S datasourceODBC datasource name
-m maxwidthMaximum column width (in characters)

© 1998 Sambar Technologies. All Rights reserved. Terms of use.