Microsoft Access "Query is corrupt" error when using 'update' command with Database Toolbox

조회 수: 1 (최근 30일)
Microsoft released an update for Access that introduced an issue with updating tables on Nov. 12.
The following article describes the issue and a workaround:
The workaround is to basically update the tables indirectly; however, this requires modifying the original SQL statement.
Many users may find an issue with this as it can require an intractable number of changes in their code base.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 6월 23일
편집: MathWorks Support Team 2021년 6월 23일
There is no fix that involves not modifying the call to the 'update' command. The crux of the issue is that the WHERE clause is passed in as a string, so in order to apply the workaround suggested by Microsoft, the new 'update' command would have to parse the WHERE clause and make the appropriate modifications. Since the WHERE clause could be anything, this is not feasible.
For now, until the fix is rolled out by Microsoft, the user will have to apply the workaround from Microsoft by modifying their code interfacing with their database.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by