摘要
本文主要介绍了ODBC技术,使用ODBC API函数SQLConfigDataSource和WINDOWS API函数Get Module File,通过数据库开发前端工具Visual C++6.0的代码形式实现了Microsoft ACCESS2000的mdb数据库文件的自动配置;通过ODBC函数的应用程序,利用SQL完成了对数据库的查询,说明使用ODBC技术可以在逻辑上分离应用程序与DBMS,保证了应用程序的数据库无关性,提高了应用程序的可重复性和可移植性。
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.
出处
《青岛大学学报(自然科学版)》
CAS
2004年第4期85-89,共5页
Journal of Qingdao University(Natural Science Edition)