Closed
Description
Submitted by: @pavel-zotov
Attachments:
c5207.PNG
1. Create script:
set term ^;
execute block as
begin
execute statement 'drop domain dm_int';
when any do begin end
end
^
set term ;^
commit;
create domain dm_int as int;
commit;
2. Create empty database on FB 2.5 and apply this script
3. Make gbak of this database (i.e. use gbak from FB 2.5)
4. Make restore using FB 3.0, let target file will be 'e30.fdb'
5. Run %FB_30_HOME%\isql -X host/port path/e30.fdb
Check final script:
SET SQL DIALECT 3;
/* CREATE DATABASE '/:C:\MIX\firebird\QA\fbt-repo\tmp\E40TMP.FDB' PAGE_SIZE 4096 DEFAULT CHARACTER SET NONE; */
/* Domain definitions */
CREATE DOMAIN DM_INT AS INTEGER;
COMMIT WORK;