About the Code Examples

The code examples in this book are designed for illustrative purposes only. Because they are written primarily to demonstrate ODBC principles, efficiency has sometimes been set aside in the interest of clarity. In addition, whole sections of code have sometimes been omitted for clarity. These include the definitions of non-ODBC functions (those functions whose names do not start with “SQL”) and most error handling.

The code examples all use ANSI strings and use the same database schema, which is shown at the start of Chapter 7, “Catalog Functions.”