我想执行以下语句:
select * from Matrix where Untersuchungsmethode='Fremdlabor'表Matrix也存在字段Untersuchungsmethode。
但我得到了错误信息:
select * from Matrix where Untersuchungsmethode='Fremdlabor' [LNA][Zen][SQL Engine][Data Record Manager]The application encountered an I/O error(Btrieve Error 2)
原因是什么?
发布于 2022-11-21 16:20:09
错误2表示:
2:应用程序遇到I/O错误--状态代码通常表示一个损坏的文件,在从磁盘读取或写入磁盘时出错。发生了下列情况之一:
。
由于您没有提到您正在使用的版本,我的第一个猜测将是一个损坏的文件。您应该首先重建数据文件。
重建文件的最简单方法是使用BUTIL。类似于:
BUTIL -CLONE <newfile> <oldfile>然后
BUTIL -COPY <oldfile> <newfile>你可能会因为腐败而失去一些记录。完成后,重命名旧文件(或删除它),然后将新文件重命名为旧文件名。
https://stackoverflow.com/questions/74516821
复制相似问题