首页 | 本学科首页   官方微博 | 高级检索  
     检索      

在Visual C++6.0中通过ODBC实现SQL
引用本文:宗恒.在Visual C++6.0中通过ODBC实现SQL[J].青岛大学学报(自然科学版),2004,17(4):85-89.
作者姓名:宗恒
作者单位:西华师范大学计科系,四川,南充,637002;青岛大学师范学院,山东,青岛,266071
摘    要:本文主要介绍了ODBC技术,使用ODBCAPI函数SQL ConfigDataSource和WINDOWS API函数Get Module File,通过数据库开发前端工具Visual C 6.0的代码形式实现了Microsoft ACCESS2000的mdb数据库文件的自动配置;通过ODBC函数的应用程序,利用SQL完成了对数据库的查询,说明使用ODBC技术可以在逻辑上分离应用程序与DBMS,保证了应用程序的数据库无关性,提高了应用程序的可重复性和可移植性。

关 键 词:VisualC++6.0  ODBC技术  数据库  SQL
文章编号:1006-1037(2004)04-0085-05
修稿时间:2003年12月10

Application of SQL Using ODBC in Visual C++6.0
ZONG Heng.Application of SQL Using ODBC in Visual C++6.0[J].Journal of Qingdao University(Natural Science Edition),2004,17(4):85-89.
Authors:ZONG Heng
Abstract:The article mainly introduces the ODBC(Open DataBase Connectivity) technique, using ODBC API function, SQLConfigDataSource, and WINDOWS API function, Get Module File, the Database saurce of microsoft ACCESS 2000 was configured and the Data Base in Visual C 6.0 was queried. ODBC technique separates the application program and DBMC on logic to quaranted the database independence of the application program. And this article extends the scope of the applying the technique.
Keywords:Visual C  6  0  open database  connectivity technique  database  SQL  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号