当前位置:网站首页>金仓数据库KingbaseES 客户端编程接口指南 - ODBC (2. 概述)
金仓数据库KingbaseES 客户端编程接口指南 - ODBC (2. 概述)
2022-07-28 21:46:00 【沉舟侧畔千帆过_】
2. 概述
本章节简单介绍了 ODBC 的背景和 KingbaseES 对其兼容情况。
本章节包含以下内容:
ODBC 简述
Kingbase ODBC 驱动包
2.1. ODBC 简述
ODBC 是 Microsoft 提供的、以 C 和 C++ 语言面向 SQL Server 编写的应用程序的主要原生数据访问 API。
开放数据库连接 (ODBC) 提供了一个标准接口,允许一个应用程序访问许多不同的数据源。 应用程序的源代码不需要为每个数据源重新编译。 数据库驱动程序将应用程序链接到特定数据源。 数据库驱动程序是一个动态链接库,应用程序可以根据需要调用该库来访问特定数据源。 因此,应用程序可以访问数据库驱动程序存在的任何数据源。 ODBC 接口定义如下:
一个 ODBC 函数调用库,允许应用程序连接到数据源,执行结构化查询语言 (SQL) 语句,并检索结果。
基于 SQL-99 规范的 SQL 语法。
一套标准的错误代码。
连接和登录数据源的标准方法。
数据类型的标准表示。
下图展示了 ODBC 模型的组成部分。 该模型从 ODBC 应用程序开始,通过 ODBC 应用程序接口 (API) 调用驱动程序管理器。 驱动程序管理器可以是 Microsoft 驱动程序管理器,也可以是 UnixODBC 驱动程序管理器。 驱动程序管理器仍然使用 ODBCAPI 对 ODBC 驱动程序进行调用。 ODBC 驱动程序使用数据库 API 通过网络通信链路访问数据库,该图展示了一个访问三个独立数据库的 ODBC 应用程序。

2.2. Kingbase ODBC 驱动包
KingbaseES ODBC 是标准 C 的 ODBC 驱动程序,它支持 Microsoft ODBC 3.0 标准。通过 KingbaseES ODBC Driver,应用程序可以完成与数据库的连接、执行 SQL 语句、从数据库中获取结果、获取状态及错误信息、终止事务和连接等操作。

边栏推荐
- 【图像分割】基于方向谷形检测实现静脉纹路分割附MATLAB代码
- The safety dog has been selected into many details of cloud security panorama 2.0
- [filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code
- 如何开一家盈利的健身房?我用1年回本的经验告诉你,别谈恋爱
- Input element label
- 华为无线设备配置利用WDS技术部署WLAN业务
- Pgbench benchmark PostgreSQL
- Typescript类方法this指针绑定
- Anr questions often asked in Android interviews
- [physical application] atmospheric absorption loss with matlab code
猜你喜欢

Hands on Teaching of servlet use (1)

Development of small programs ②

Win11快捷复制粘贴不能用怎么办?Win11快捷复制粘贴不能用

一文读懂Okaleido Tiger近期动态,挖掘背后价值与潜力

Subscript in swift
![[filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code](/img/e5/878bf5908856c80d6e07b03ba59da5.png)
[filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code
![[MySQL series] addition, deletion, modification and query of MySQL tables (Advanced)](/img/4c/ba2fcb6e9be2f16b73e60ab84e3f3f.png)
[MySQL series] addition, deletion, modification and query of MySQL tables (Advanced)

Objc4-841.13 debuggable / compiled source code update

【图像分割】基于方向谷形检测实现静脉纹路分割附MATLAB代码

Price for volume has encountered "six consecutive declines" in sales. Can Volvo, which is no longer safe, turn around?
随机推荐
c语言进阶篇:指针(三)
解决serviceaccount用户认证挂载密文token文件失败导致pod使用anonymous用户问题
With the "integration of driving and parking", freytek's high-performance domain controller leads the new track
【滤波跟踪】基于EKF、时差和频差定位实现目标跟踪附matlab代码
22 Niuke multi school Day1 I - Introduction to chiitoitsu DP
Rouyi cloud platform - how to realize the launch and login functions of the project and how to create new modules
Typescript class method this pointer binding
Several common methods of SQL optimization
1314_串口技术_RS232通信基础的信息
参加竞赛同学们的留言 : 第十七届的记忆
Recurrent neural network (RNN)
如何在VR全景中嵌入AI数字人功能?打造云端体验感
业界首创云原生安全检测双模型!安全狗重磅报告亮相数字中国建设峰会
How does VR panorama entrepreneurship expand the market? How to make the road of entrepreneurship smoother?
mgr.exe病毒导致启动程序启动失败
Wechat applet development ④
Solve the exception that all control files are damaged
Typescript类方法this指针绑定
The Gerrit local code is associated to the remote warehouse
View APK signature