UPDATE RDB$RELATION_FIELDS SET RDB$NULL_FLAG = 0 WHERE (RDB$FIELD_NAME = 'CODLOJA') AND (RDB$RELATION_NAME = 'PESSOAS');
UPDATE RDB$RELATION_FIELDS SET RDB$NULL_FLAG = 0 WHERE (RDB$FIELD_NAME = 'ATIVIDADE') AND (RDB$RELATION_NAME = 'PESSOAS');

COMMIT;