Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新的 XE2 dbExpress 在使用布尔字段时是否仍然存在问题?
最好的方法是使用域
CREATE DOMAIN BOOL AS SMALLINT DEFAULT 0 CHECK (value in (0,1) or value is null);
问候
AFAIK Firebird 没有 BOOLEAN 类型。
创建一个 Char(1) 字段。设置值“Y”或“N”
http://www.firebirdfaq.org/faq12/