我在IB7.0中创建表,其中有一个BOOLEAN类型的字段。但执行时提示:
Boolean Datatype is not supported for the ODS of the current database.
查阅IB的帮助资料知道Boolean datatype requires ODS 11 or higher.请问如何操作才可以支持BOOLEAN类型。
---------------------------------------------------------------
ODS: on-disk structrue 磁盘文件存储结构
不同的 ib 版本可能使用不同的 ODS
ib7 实现了 boolean 数据类型,该类型需要 ODS11 以上的版本(ib7 就是 ODS11)
borland bde 内联方式连接 ib 不支持 ODS11 ,你试试 odbc 方式看。
另外,只有最新的 ibx 控件才支持 boolean 数据类型
---------------------------------------------------------------
应该是你的数据库的ODS版本太低了。你可以先在原来版本的InterBase中backup,然后在新的Interbase中Restore,就可以升级ODS版本到11了。