Microsoft Access "Query is corrupt" error when using 'update' command with Database Toolbox
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 14 de Nov. de 2019
Editada: MathWorks Support Team
el 23 de Jun. de 2021
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.
Respuesta aceptada
MathWorks Support Team
el 23 de Jun. de 2021
Editada: MathWorks Support Team
el 23 de Jun. de 2021
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Database Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!