Convert column domain as smallint to boolean in firebird

I’m using Firebird 4.0 and I would convert a column from smallint 0|1 to boolean. So I have this kind of domain: CREATE DOMAIN D_BOOL AS SMALLINT DEFAULT 0 NOT NULL CHECK (VALUE IN (0,1)) ; This domain is used in my test table: CREATE TABLE TBOOL ( ID INTEGER, INTVAL D_BOOL ); How can… Read More Convert column domain as smallint to boolean in firebird