⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 append c interbase概述.html

📁 delphi的学习资料
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>                           附录C  InterBase概述</TITLE>
</HEAD>
<BODY>

<FONT FACE="宋体" LANG="ZH-CN"><P> </P>
</FONT><P>                           <FONT FACE="宋体" LANG="ZH-CN">附录</FONT>C  InterBase<FONT FACE="宋体" LANG="ZH-CN">概述</P>
<P> </P>
<P>  </FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">是一种关系数据管理系统</FONT>(Relational database management system RDBMS)<FONT FACE="宋体" LANG="ZH-CN">,它提供了在单机或多用户环境中的快速数据处理及共享的工具。</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">的核心是提供透明的多机种支持的网络运行服务器技术。</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">是可以在</FONT>Windows 95<FONT FACE="宋体" LANG="ZH-CN">、</FONT>Windows NT<FONT FACE="宋体" LANG="ZH-CN">、</FONT>Novell NetWare<FONT FACE="宋体" LANG="ZH-CN">及多种</FONT>UNIX<FONT FACE="宋体" LANG="ZH-CN">操作系统上运行的工具。</P>
<P>  </FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">的</FONT>Windows 95<FONT FACE="宋体" LANG="ZH-CN">和</FONT>Windows NT<FONT FACE="宋体" LANG="ZH-CN">版有两种形式,一是基于单机应用的</FONT> Local InterBase<FONT FACE="宋体" LANG="ZH-CN">,另一种为基于远程、多机工作方式的</FONT>InterBase Server<FONT FACE="宋体" LANG="ZH-CN">。两种服务器都带有</FONT>Windows <FONT FACE="宋体" LANG="ZH-CN">的客户工具,包括用户授权和数据库管理器</FONT>Server Manager<FONT FACE="宋体" LANG="ZH-CN">、用作数据库定义及操作的</FONT>Windows ISQL<FONT FACE="宋体" LANG="ZH-CN">以及一系列其它高效的工具。</P>
<P> </P>
<P>一、</FONT>Local InterBase</P>
<P> </P>
<FONT FACE="宋体" LANG="ZH-CN"><P>  作为一种单用户</FONT>32<FONT FACE="宋体" LANG="ZH-CN">位</FONT>ANSI SQL<FONT FACE="宋体" LANG="ZH-CN">的本地服务器,</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">是与</FONT>Borland<FONT FACE="宋体" LANG="ZH-CN">的客户开发工具</FONT>(<FONT FACE="宋体" LANG="ZH-CN">如</FONT>Delphi<FONT FACE="宋体" LANG="ZH-CN">、</FONT>Visual dBase)<FONT FACE="宋体" LANG="ZH-CN">的</FONT>Client/Server<FONT FACE="宋体" LANG="ZH-CN">版共同发售的。单用户版是基于</FONT>PC<FONT FACE="宋体" LANG="ZH-CN">开发的,并被用来开发在本地数据库环境中独立应用的</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">应用程序及远端服务器连接的客户</FONT>/<FONT FACE="宋体" LANG="ZH-CN">服务器</FONT>(Client/Server)<FONT FACE="宋体" LANG="ZH-CN">应用程序。</P>
<P> </P>
<P>二、</FONT>InterBase Server</P>
<P> </P>
<FONT FACE="宋体" LANG="ZH-CN"><P>  作为一种多用户的、</FONT>32 <FONT FACE="宋体" LANG="ZH-CN">位</FONT>ANSI SQL<FONT FACE="宋体" LANG="ZH-CN">支持的远端服务器,</FONT>InterBase Server<FONT FACE="宋体" LANG="ZH-CN">是单独发售或同</FONT>Borland<FONT FACE="宋体" LANG="ZH-CN">的有限客户使用的</FONT>Client/Server<FONT FACE="宋体" LANG="ZH-CN">版开发工具</FONT>(<FONT FACE="宋体" LANG="ZH-CN">如</FONT> Delphi)<FONT FACE="宋体" LANG="ZH-CN">一起发售的。</FONT> </P>
<FONT FACE="宋体" LANG="ZH-CN"><P>  开发者可以使用基于数据库引擎</FONT>(Borland DataBase Engine--BDE)<FONT FACE="宋体" LANG="ZH-CN">、核心数据库及连通性软件</FONT>(connectivity middleware)<FONT FACE="宋体" LANG="ZH-CN">的</FONT>Borland<FONT FACE="宋体" LANG="ZH-CN">用户开发工具建立</FONT>Client/Server<FONT FACE="宋体" LANG="ZH-CN">应用程序。通过</FONT>InterBase SQL Links<FONT FACE="宋体" LANG="ZH-CN">连接到</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">数据库服务器。</P>
<P>  当使用了</FONT>Borland<FONT FACE="宋体" LANG="ZH-CN">的客户端开发工具</FONT>(<FONT FACE="宋体" LANG="ZH-CN">如</FONT>Delphi Client/Server suit)<FONT FACE="宋体" LANG="ZH-CN">时,</FONT>BDE<FONT FACE="宋体" LANG="ZH-CN">被作为</FONT>InterBase Server <FONT FACE="宋体" LANG="ZH-CN">的</FONT> API<FONT FACE="宋体" LANG="ZH-CN">接口使用。直接对</FONT> InterBase API<FONT FACE="宋体" LANG="ZH-CN">进行操作的应用程序必须用</FONT>InterBase Server Developer<FONT FACE="宋体" LANG="ZH-CN">版来创建。</P>
<P>  使用</FONT>InterBase Server<FONT FACE="宋体" LANG="ZH-CN">,客户的应用程序也可以在其宿主语言中嵌入</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">、动态</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">语句。此外,这些应用程序还可以用</FONT> InterBase API<FONT FACE="宋体" LANG="ZH-CN">的底层函数来编写。</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">通过</FONT>InterBase API<FONT FACE="宋体" LANG="ZH-CN">提供了访问入口。</P>
<P>  </FONT>InterBase Server<FONT FACE="宋体" LANG="ZH-CN">还包含了一个驱动程序,它专为开放式数据库接口</FONT> (ODBC)<FONT FACE="宋体" LANG="ZH-CN">而设计,使得</FONT>ODBC<FONT FACE="宋体" LANG="ZH-CN">客户端应用程序同</FONT>InterBase Server<FONT FACE="宋体" LANG="ZH-CN">共享数据。</P>
<P> </P>
<P>三、</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">的特性简介</P>
<P> </P>
<P>  </FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">提供了</FONT>RDBMS<FONT FACE="宋体" LANG="ZH-CN">的全部优点,下面是</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">的一些关键特性:</P>
<P> </P>
</FONT><P>                    <FONT FACE="宋体" LANG="ZH-CN">表附录</FONT>C.1  InterBase<FONT FACE="宋体" LANG="ZH-CN">的关键特性</P>
</FONT><P> <FONT FACE="宋体" LANG="ZH-CN">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</P>
<P>  特性</FONT>(Feature)                        <FONT FACE="宋体" LANG="ZH-CN">简介</FONT>(Description)</P>
<P> <FONT FACE="宋体" LANG="ZH-CN">─────────────────────────────────────</P>
<P>  支持网络协议</FONT>                <FONT FACE="宋体" LANG="ZH-CN">支持</FONT>Microsoft NetBEUI/<FONT FACE="宋体" LANG="ZH-CN">命名管道和</FONT>TCP/IP<FONT FACE="宋体" LANG="ZH-CN">协议,</FONT> <FONT FACE="宋体" LANG="ZH-CN">便</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">于通讯。</FONT>(<FONT FACE="宋体" LANG="ZH-CN">只用于</FONT>InterBase Server)                   </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">与</FONT>SQL-92<FONT FACE="宋体" LANG="ZH-CN">入口的一致性 </FONT>    <FONT FACE="宋体" LANG="ZH-CN">通过交互式</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">工具和</FONT>Borland<FONT FACE="宋体" LANG="ZH-CN">桌面应用程序使</FONT>ANSI</P>
<P>                              <FONT FACE="宋体" LANG="ZH-CN">的标准</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">可被利用</FONT>                             </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">同时访问多个数据库</FONT>         <FONT FACE="宋体" LANG="ZH-CN">一个应用程序可以在同一时间访问多个数据库</FONT>       </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">多代结构</FONT>                  <FONT FACE="宋体" LANG="ZH-CN">服务器可保持</FONT>(<FONT FACE="宋体" LANG="ZH-CN">必须的</FONT>)<FONT FACE="宋体" LANG="ZH-CN">纪录的老版本。这样多个事务可</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">以查到一致的数据库视图</FONT>                         </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">查询优化</FONT>                  <FONT FACE="宋体" LANG="ZH-CN">服务器对用户进行自动优化处理,</FONT> <FONT FACE="宋体" LANG="ZH-CN">或用户可以人为指定</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">查询方案。</FONT>                                     </P>
<P>   BLOB<FONT FACE="宋体" LANG="ZH-CN">数据类型</FONT>              Binary Large Objects(<FONT FACE="宋体" LANG="ZH-CN">二进制大对象</FONT>) <FONT FACE="宋体" LANG="ZH-CN">可以包含非格式化</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">数据如图像和文本</FONT>                               </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">定义参考完整性</FONT>             <FONT FACE="宋体" LANG="ZH-CN">自动交叉表格关系</FONT>(<FONT FACE="宋体" LANG="ZH-CN">在</FONT>Fore|GN<FONT FACE="宋体" LANG="ZH-CN">和</FONT>Primary Key<FONT FACE="宋体" LANG="ZH-CN">之间</FONT>)<FONT FACE="宋体" LANG="ZH-CN">进行</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">强制转换</FONT>                                       </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">存储过程</FONT>                   <FONT FACE="宋体" LANG="ZH-CN">数据库中可编程元素。用其进行高级的查询及数据操作</P>
</FONT><P>   <FONT FACE="宋体" LANG="ZH-CN">触发器</FONT>                     <FONT FACE="宋体" LANG="ZH-CN">自包含的程序模块。当指定表格中的数据被插入、</FONT> <FONT FACE="宋体" LANG="ZH-CN">更</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">新或删除时被激活</FONT>                               </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">事件警报器</FONT>                 <FONT FACE="宋体" LANG="ZH-CN">从数据库向应用程序传递消息,允许应用程序接收数据</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">库改变的异步通知消息</FONT>                           </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">可更新的视图</FONT>               <FONT FACE="宋体" LANG="ZH-CN">当数据改变时,可立即在视图上反映出来</FONT>           </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">用户定义函数</FONT>(ODFS)         <FONT FACE="宋体" LANG="ZH-CN">在服务器上运行的程序模块</FONT>                       </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">外部连接</FONT>                   <FONT FACE="宋体" LANG="ZH-CN">在两个表之间构造关联,并进行更复杂的操作</FONT>       </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">显式事务管理</FONT>               <FONT FACE="宋体" LANG="ZH-CN">对事务开始通讯及回转,也含已命令事务的全方位控制</P>
</FONT><P>   <FONT FACE="宋体" LANG="ZH-CN">多程序同时访问数据</FONT>        <FONT FACE="宋体" LANG="ZH-CN">一个应用程序读取表格,不需要禁止其它程序访问此表</P>
</FONT><P>   <FONT FACE="宋体" LANG="ZH-CN">多维数组</FONT>                  <FONT FACE="宋体" LANG="ZH-CN">按索引表排列的多列数据</FONT>                          </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">自动两阶段提交</FONT>            <FONT FACE="宋体" LANG="ZH-CN">多数据库协作事物中,在提交前先检查所有数据库的修</P>
</FONT><P>                             <FONT FACE="宋体" LANG="ZH-CN">改情况</FONT>(<FONT FACE="宋体" LANG="ZH-CN">只用于</FONT>InterBase Server)                      </P>
<P>   InterBase<FONT FACE="宋体" LANG="ZH-CN">的</FONT>API             <FONT FACE="宋体" LANG="ZH-CN">底层函数库。使得应用程序构造</FONT>SQL/DSQL<FONT FACE="宋体" LANG="ZH-CN">语句,</FONT> <FONT FACE="宋体" LANG="ZH-CN">直接</P>
</FONT><P>                             <FONT FACE="宋体" LANG="ZH-CN">访问</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">引擎并接收返回结果</FONT> (<FONT FACE="宋体" LANG="ZH-CN">仅</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN"> </FONT>Server </P>
<P>                              Developer <FONT FACE="宋体" LANG="ZH-CN">版</FONT>)                                   </P>
<P>   gpre                     <FONT FACE="宋体" LANG="ZH-CN">将嵌入的</FONT>SQL/DSQL <FONT FACE="宋体" LANG="ZH-CN">语句的变量转换成为可由语言编译</P>
</FONT><P>                             <FONT FACE="宋体" LANG="ZH-CN">器读取格式的处理器。</FONT>(<FONT FACE="宋体" LANG="ZH-CN">仅</FONT>InterBase Server Developer<FONT FACE="宋体" LANG="ZH-CN">版</FONT>) </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">服务器管理器</FONT>              <FONT FACE="宋体" LANG="ZH-CN">一种</FONT>Windows<FONT FACE="宋体" LANG="ZH-CN">工具,对数据库进行备份、修复、保持及</P>
</FONT><P>   (Server Manager)            <FONT FACE="宋体" LANG="ZH-CN">安全性的管理</FONT>                                     </P>
<P>   Windows ISQL             Windows<FONT FACE="宋体" LANG="ZH-CN">的一种直观交互式的数据定义及查询工具。</FONT>    </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">命令行</FONT>(Command-line)ISQL  InterBase<FONT FACE="宋体" LANG="ZH-CN">的直观交互式</FONT>SQL<FONT FACE="宋体" LANG="ZH-CN">工具的命令行版,可以用其</P>
</FONT><P>                            <FONT FACE="宋体" LANG="ZH-CN">替代</FONT>Windows ISQL                                 </P>
<P>   Comdiag                   InterBase<FONT FACE="宋体" LANG="ZH-CN">通讯诊断工具</FONT>                             </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">命令行</FONT>DBA<FONT FACE="宋体" LANG="ZH-CN">工具</FONT>           InterBase<FONT FACE="宋体" LANG="ZH-CN">数据库管理工具的命令行版本。可以用其替代</P>
</FONT><P>                             <FONT FACE="宋体" LANG="ZH-CN">服务器管理器</FONT>Server Manager                        </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">头文件</FONT>                    <FONT FACE="宋体" LANG="ZH-CN">在应用程序开头包含的文件。定义了</FONT> InterBase <FONT FACE="宋体" LANG="ZH-CN">的数</P>
</FONT><P>    (Header Files)              <FONT FACE="宋体" LANG="ZH-CN">据类型及函数调用</FONT> (<FONT FACE="宋体" LANG="ZH-CN">仅</FONT>InterBase Server Developer<FONT FACE="宋体" LANG="ZH-CN">版</FONT>)    </P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">制作文件</FONT>(make file)          <FONT FACE="宋体" LANG="ZH-CN">用来演示如何使用</FONT>Borland MAKE<FONT FACE="宋体" LANG="ZH-CN">工具来在</FONT>Windows<FONT FACE="宋体" LANG="ZH-CN">下</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">编译、链接</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">应用程序的文件</FONT> (<FONT FACE="宋体" LANG="ZH-CN">仅</FONT> InterBase</P>
<P>                             Server Developer <FONT FACE="宋体" LANG="ZH-CN">版</FONT>)</P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">例程</FONT>                       C<FONT FACE="宋体" LANG="ZH-CN">程序,可进行编译、链接。程序可以用来在服务器上</P>
</FONT><P>                              <FONT FACE="宋体" LANG="ZH-CN">查询</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">数据库范例。</FONT>(<FONT FACE="宋体" LANG="ZH-CN">仅</FONT> InterBase  Server</P>
<P>                              Developer <FONT FACE="宋体" LANG="ZH-CN">版</FONT>)</P>
<P>   <FONT FACE="宋体" LANG="ZH-CN">消息文件</FONT>                   INTERBAS.MSG<FONT FACE="宋体" LANG="ZH-CN">文件,含呈送给用户的消息。</P>
</FONT><P> <FONT FACE="宋体" LANG="ZH-CN">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</P>
<P> </P>
<P>四、</FONT>InterBase<FONT FACE="宋体" LANG="ZH-CN">的约束</P>
<P> </P>
<P>  约束是由操作系统及硬件引入的限制项目。</P>
<P>    </P>
<P>            对象限制</P>
<P> </P>
</FONT><P>          <FONT FACE="宋体" LANG="ZH-CN">  数据库大小</FONT> <FONT FACE="宋体" LANG="ZH-CN">:没有严格限制</P>
</FONT><P>   <FONT FACE="宋体" LANG="ZH-CN"> </FONT> <FONT FACE="宋体" LANG="ZH-CN">每个数据库可含文件</FONT> <FONT FACE="宋体" LANG="ZH-CN">:</FONT>65536.<FONT FACE="宋体" LANG="ZH-CN">元数据则只允许更少的文件数目</FONT>(<FONT FACE="宋体" LANG="ZH-CN">须为</FONT>SHORT<FONT FACE="宋体" LANG="ZH-CN">类型</FONT>)</P>
<FONT FACE="宋体" LANG="ZH-CN"><P>一个事务中打开的数据库数</FONT> <FONT FACE="宋体" LANG="ZH-CN">:没有严格限制</P>
<P> </FONT>  <FONT FACE="宋体" LANG="ZH-CN">每个数据库中可含表格</FONT> <FONT FACE="宋体" LANG="ZH-CN">:</FONT>65536(<FONT FACE="宋体" LANG="ZH-CN">用</FONT>SHORT<FONT FACE="宋体" LANG="ZH-CN">数字表示</FONT>)</P>
<P>      <FONT FACE="宋体" LANG="ZH-CN">每个表格的行、列数</FONT> <FONT FACE="宋体" LANG="ZH-CN">:无限制,记录可以到</FONT>64K<FONT FACE="宋体" LANG="ZH-CN">。可创建列数视所用数据类型而</P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -