摘要
由于应用程序不能直接和数据源打交道,因此就产生了各种各样的数据库访问技术。通过以一个学生信息管理系统的开发为依托,详细论述了在VisualC++6.0平台下通过ODBC技术和OLEDB技术,连接ACCESS和SQLSERVER数据库,并对数据库中的记录进行访问,以及实现记录的插入,删除,查找等功能,最后并对每种访问方式的效率做了初步评估,
Since the application program cannot access the database directly; there are some technologies to help our programs access the database. Then a program is designed in the environment of Visual C++, using the technologies of ODBC and OLE DB, accessing the student database (Format of Microsoft Access and SQL server).This program can browse, insert, delete and find records. Finally, a brief comparison of the efficiency between two methods-ODBC, OLE DB is discussed.
作者
袁明
YUAN Ming (Nanjing University of Aeronautics and Astronautics, College of Aerospace Engineering, Nanjing 210016, China)
出处
《电脑知识与技术》
2009年第4期2550-2552,共3页
Computer Knowledge and Technology