当前位置:网站首页>金仓数据库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 语句、从数据库中获取结果、获取状态及错误信息、终止事务和连接等操作。

边栏推荐
- Apk signature.Apk version information
- Solve the problem of using anonymous users in pod due to the failure of attaching ciphertext token files for serviceaccount user authentication
- Solve the exception that all control files are damaged
- 终端输出g_debug()信息
- Hbuilderx shortcut key
- 通过Wi-Fi 7实现极高吞吐量——洞察下一代Wi-Fi物理层
- 被忽视的智能电视小程序领域
- Subscript in swift
- Zero vision technology completed the pre-A round of financing and promoted the domestic replacement of intelligent driving platform software
- RouterOS 有限dns劫持及check
猜你喜欢

Hands on Teaching of servlet use (1)

Applet Download Preview PDF, document cannot open solution

Form label
![[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)

MySQL数据库的基本概念以及MySQL8.0版本的部署(一)

Basic concept of MySQL database and deployment of MySQL version 8.0 (I)

行泊ADAS摄像头前装搭载同比增长54.15%,TOP10供应商领跑

这个胶水有多强呢?

With the "integration of driving and parking", freytek's high-performance domain controller leads the new track

业界首创云原生安全检测双模型!安全狗重磅报告亮相数字中国建设峰会
随机推荐
Kotlin JVM annotation
Wechat applet development ③
How to automatically install homebrew in China (domestic address)
ACM SIGIR 2022 | 美团技术团队精选论文解读
Terminal output G_ Debug() information
Apk signature.Apk version information
Subscript in swift
In order for digital retail to continue to play its role, we need to give new connotation and significance to digital retail
二叉搜索树
With the "integration of driving and parking", freytek's high-performance domain controller leads the new track
[filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code
Binary search tree
Inheritance in swift
The industry's first cloud native security detection dual model! Safety dog heavyweight report appears at the digital China Construction Summit
Sqlilabs-2 (breakthrough record)
MyCms 自媒体商城 v3.6 发布,兼容微擎应用开发(Laravel框架)
事件抽取文献整理(2008-2017)
What if win11 cannot find the DNS address? Win11 can't find DNS and can't access the web page solution
【MongoDB】MongoDB数据库的基础使用,特殊情况以及Mongoose的安装和创建流程(含有Mongoose固定版本安装)
Win11找不到DNS地址怎么办?Win11找不到DNS无法访问网页解决方法