Development Based on ODBC
ODBC is a Microsoft API for accessing databases based on the X/OPEN CLI. ODBC APIs alleviate applications from directly operating in databases, and enhance the database portability, extensibility, and maintainability.
Figure 1 shows the system structure of ODBC.
GaussDB supports ODBC 3.5 in the following environments.
OS |
Platform |
---|---|
EulerOS 2.5 |
x86_64 |
EulerOS 2.8 |
ARM64 |
Windows 7 |
x86_32 |
Windows 7 |
x86_64 |
Windows Server 2008 |
x86_32 |
Windows Server 2008 |
x86_64 |
Kylin V10 |
x86_64 |
Kylin V10 |
ARM64 |
The ODBC Driver Manager running on UNIX or Linux can be unixODBC or iODBC. unixODBC-2.3.0 is used as the component for connecting to the database.
Windows has a native ODBC Driver Manager. You can locate Data Sources (ODBC) by choosing Control Panel > Administrative Tools.
The current database ODBC driver is based on an open-source version and may be incompatible with Huawei-developed data types such as tinyint, smalldatetime, and nvarchar2.
- ODBC Packages, Dependent Libraries, and Header Files
- Configuring a Data Source in the Linux OS
- Configuring a Data Source in the Windows OS
- Development Process
- Example: Common Functions and Batch Binding
- Typical Application Scenarios and Configurations
- ODBC Interface Reference
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