Description: 封装了常见的ADO连接字符串,通过调用函数,可以连接到Access\SQLServer\Oracle等数据库-Packaging, a common ADO connection string, by calling the function, Access can connect to the \ SQLServer \ Oracle database Platform: |
Size: 2048 |
Author:yhb |
Hits:
Description: Delphi 7下测试通过的数据库连接池对象,有ADO和DBExpress两种方式,都兼容了SQLServer和oracle,使用方式为创建TDBExpPool或者TADOPool,执行查询语句直接调用OpenSQL,返回一个TataSet,使用完毕释放。insert语句使用ExecSQL,如果要使用事务,请先调用GetDBConn获取一个DBConn,然后调用Enter,调用Pool的ExecSQL时传入此DBConn,使用完毕Leave即可。-Delphi 7 to test the database connection pool through objects, there are two ways to ADO and DBExpress are compatible with the SQLServer and oracle, used to create TDBExpPool or TADOPool, execute a query directly call OpenSQL, returns a TataSet, released after use. insert statement using ExecSQL, if you want to use transactions, please call GetDBConn get a DBConn, then call Enter, when the incoming call Pool of ExecSQL this DBConn, Leave can be used up. Platform: |
Size: 7168 |
Author:李健 |
Hits: