VB6 ADO 记录集限制
请不要笑,因为我问的是 VB6 问题?我必须做一些维护工作。有谁知道 VB6 ADO Recordset 可以返回的最大行数是多少?如果存在限制,是否有解决该限制的首选方法?
Please don't laugh because I'm asking a VB6 question? I have to do some maintenance work. Does anyone know what the maximum number of rows can be returned to a VB6 ADO Recordset? If there is a limit, is there a preferred method for getting around it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有限制(请参阅文档链接),但如果您愿意,您可以提供一个。应该有一个 MaxRecords 属性你可以设置。您必须在打开记录集之前对其进行设置。
There is no limit (see link for documentation), but you can provide one if you want. There should be a MaxRecords property that you can set. You have to set it before you open the recordset.
RecordCount 属性是一个(签名)长(与 MaxRecords 一样),因此它不能容纳超过 2,147,483,647 行
The RecordCount property is a (signed) Long (as is the MaxRecords) so it won't be able to hold more than 2,147,483,647 rows