C/ODBC v5 comes with some command-line tools such as MYODBCShell. MYODBCShell can be used to interact with the server. It is similar to the mysql command-line tool but it uses ODBC. MYODBCShell is very useful for problem solving ODBC issues (more on this in a later blog) and for simply trying out commands before using them in an ODBC application.
Here are some of the unique features of MYODBCShell;
- is command-line ODBC tool
- can connect via an ODBC DSN
- can connect via a driver connect string
- can invoke catalog calls like SQLTables, SQLColumns, etc
- can be used in batch
- can wrap ResultSet in HTML
You can use MYODBCShell by entering a command-line shell and
executing the command MYODBCShell. You may have to change to the
directory where MYODBCShell was installed or get it into your
PATH. Execute MYODBCShell without arguments to
get information …