ADO使用问题

解决Microsoft Jet 数据库编辑冲突与内存泄漏
本文档详细介绍了在使用Microsoft Jet数据库时可能遇到的问题,包括尝试在同一事务中更新已被编辑过的记录时出现的锁定错误,以及进行大量插入操作导致的应用程序内存消耗过高的情况。提供了微软官方的知识库链接来帮助理解这些问题的根本原因及解决方案。

BUG: "Could Not Update; Currently Locked" Error Message Raised by Second Edit Attempt in a Transaction

When you try to execute a SQL statement that changes a record of a table that was edited earlier in the same transaction, you may receive the following error message:

Run-time error '-2147467259 (80004005)': 
Could not update; currently locked.

PRB: Jet OLE DB Provider Consuming Too Much Memory
After performing a large number of operations ( for example, inserts) on a Microsoft Jet database engine with the Jet 4.0 OLE DB Provider, large amounts of memory are consumed by the application. For example, performing 1000 inserts in a tight loop may reveal 100+ megabyte usage. When the connection is closed, the memory is freed

FIX:A memory leak may occur when you use the Microsoft ActiveX Data Objects Library in Windows Vista, in Windows 7, in Windows Server 2008, or in Windows Server 2008 R2









评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值