您的位置: 首页/ 各期目录/ 文章详情

DB2嵌入式SQL应用程序的开发
Development of Embedded SQL Application


摘 要 目前DB2数据库提供两种应用开发方式,以宝钢过程控制计算机系统的开发为例,详细介绍了其中之一 —嵌入式SQL编程方式。从该编程方式所用到的宿主变量、指示符变量、游标以及错误的诊断和处理等多方面阐述了如何构建程序,并用构建的源代码探讨了在Linux系统下进行预编译、绑定以及编译和链接的基本过程,从而生成了可执行文件。经过多次开发和验证,在项目中实施性强、且效果良好。
关键词 DB2数据库 嵌入式SQL语言 预编译 绑定
Abstract:Currently DB2 database application development offers two ways,in this paper
Case in development of BaoSteel Process Control Computer System, described in detail
development way of embedded SQL programming. Are used programmatically from the 
host variables, indicator variables, cursors, and error diagnosis and treatment,and many 
showed how to build programs.In the linux system, these source codes are pre-compiled
bounded, and compiled and linked,at last generated the executable file. After several 
rounds of development and validation, the implementation of the project is strong,and
good results.
Keywords: DB2 database; embedded SQL language; pre-compile; bind

网站会员需要登录才能在线预览,点我登录。

如何成为网站会员>>