Development Process
APIs Involved in the Development Process
Function |
API |
---|---|
Allocate a handle |
SQLAllocHandle is a generic function for allocating a handle. It can replace the following functions:
|
Set environment attributes |
|
Set connection attributes |
|
Set statement attributes |
|
Connect to a data source |
|
Bind a buffer to a column in the result set |
|
Bind the parameter marker of an SQL statement to a buffer |
|
Return the error message of the last operation |
|
Prepare an SQL statement for execution |
|
Run a prepared SQL statement |
|
Run an SQL statement directly |
|
Fetch the next row (or rows) from the result set |
|
Return data in a column of the result set |
|
Get the column information from a result set |
|
Disconnect from a data source |
|
Release a handle |
SQLFreeHandle is a generic function for releasing a handle. It can replace the following functions:
|
If an execution request (not in a transaction block) received in the database contains multiple statements, the request is packed into a transaction. If one of the statements fails, the entire request will be rolled back.
ODBC connects applications to the database and delivers the SQL statements sent by an application to the database. It does not parse the SQL syntax. Therefore, when confidential information (such as a plaintext password) is written into the SQL statement sent by an application, the confidential information is exposed in the driver log.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot