ODBC Programmer's Reference

 

ODBC 3.51 Programmer's Reference

   本指南介紹了ODBC(Open Database Connectivity)的結構並解釋了怎樣寫ODBC驅動和應用程序。也解釋了怎樣使用ODBC連接驅動或程序的設置、安裝和管理程序。本指南還包含了ODBC索引,並按字母順序列出了所有的ODBCAPI及其函數的詳細描述。

 

第一部分

Organization of the ODBC Programmer’s Reference

ODBC程序員指南的組織結構

本教程分爲以下幾個部分:

l         第一部分:ODBC簡介,簡要介紹SQLStructured 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原理,因此未考慮性能。

 

推薦閱讀

。。。。。。

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章