Chapter 14. Tclodbc

The Tclodbc extension, created by Roy Nurmi, is not part of the core Tcl/Tk package, but can be obtained for free at http://www.megalos.fi/˜rnurmi. This chapter covers Version 2.0.

Tclodbc is a Tcl interface to ODBC, the database protocol used by Microsoft Windows. It works with any database that has an ODBC driver. The distribution includes precompiled DLLs for Tcl versions 7.6, 8.0, and 8.1. Once installed using the supplied Tcl install program, the package can be loaded using the command package require tclodbc. The package adds one new command to the Tcl interpreter: database.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.