在MS Access中运行查询

2024-04-25 12:35:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我还不太熟悉python。我添加了win32,在代码中导入了odbc,打开了与数据库的连接。在

我想运行数据库中存储的查询。在

当我将更新查询添加到代码并尝试运行它时,我收到以下消息:

opError: [Microsoft][ODBC Microsoft Access Driver] The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2 GB), or there is not enough temporary storage space on the disk to store the query result. in EXEC

我操作的数据量相当大,并且我尝试运行的特定查询效率不高。在

在visualbasic中有类似的东西吗doCmd?在

谢谢。在


Tags: ofthe代码数据库消息sizeaccessis