您的位置:首页 > Web前端

ODBC Programmer's Reference

2009-11-07 22:16 260 查看

ODBC 3.51 Programmer's Reference

本指南介绍了ODBC(Open Database Connectivity)的结构并解释了怎样写ODBC驱动和应用程序。也解释了怎样使用ODBC连接驱动或程序的设置、安装和管理程序。本指南还包含了ODBC索引,并按字母顺序列出了所有的ODBC的API及其函数的详细描述。

第一部分
Organization of the ODBC Programmer’s Reference
ODBC程序员指南的组织结构
本教程分为以下几个部分:
l 第一部分:ODBC简介,简要介绍SQL(Structured Query Language)的历史和ODBC及其接口的一些概念;
l 第二部分:开发ODBC程序和驱动;包含使用ODBC开发程序的信息;
l 第三部分:安装和配置ODBC软件;
l 第四部分:API 索引;
l 附录;

读者
ODBC接口是为C编程而设计的。使用ODBC包括三个区域:SQL语句、ODBC函数调用、C编程。本教程假设:
l 熟悉C编程;
l 了解DBMS并熟悉SQL;

约定

格式

用于
WIN.INI
大写字母表示文件名, SQL 语句, 宏名, 和操作系统命令术语.
SQLRETURNCODE SQLFetch(hdbc)
Monospace font is used for sample command lines and program code.
argument
Italicized words indicate information that the user or the application must provide, or word emphasis.
SQLEndTran
Bold type indicates that syntax must be typed exactly as shown, including function names.
[ ]
Brackets indicate optional items; if in bold text, brackets must be included in the syntax.
|
A vertical bar separates two mutually exclusive choices in a syntax line.
{}
Braces delimit a set of mutually exclusive choices in a syntax line; if in bold text, braces must be included in the syntax.
...
An ellipsis indicates that arguments can be repeated several times.
.
.
.
A column of three dots indicates continuation of previous lines of code.
关于代码示例
代码示例仅用于演示ODBC原理,因此未考虑性能。

推荐阅读
。。。。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: