Development Process
Figure 1 ODBC application development process
APIs Involved in the Development Process
Table 1 Related APIs
SQLAllocHandle: Allocates handle resources. It can replace the following functions:
| |
Obtains the number of rows affected by the most recently executed SQL statement | |
SQLFreeHandle: Frees handle resources. It can replace the following functions:
|
Warning:
ODBC serves as a middle layer between an application and the database, responsible for forwarding SQL commands issued by applications to the database. It does not parse SQL syntax itself. Therefore, when SQL statements containing confidential information (such as plaintext passwords) are written in applications, the confidential information will be exposed in driver logs.
