There is another bug in compare processor.
Try to create in DB1 such table:
and in DB2:
Try to compare DB1 with DB2. You'll get:
Then try to compare DB2 with DB1. You'll get:
Try to create in DB1 such table:
Code:
create table TEST
(
A VARCHAR2(10) not null,
B INTEGER not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
minextents 1
maxextents unlimited
);
-- Create/Recreate indexes
create unique index U_X on TEST (B)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
minextents 1
maxextents unlimited
);
Code:
create table TEST
(
A VARCHAR2(10) not null,
C INTEGER not null,
B INTEGER not null
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
minextents 1
maxextents unlimited
);
-- Create/Recreate indexes
create unique index U_X on TEST (B)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
minextents 1
maxextents unlimited
);
Code:
-- Changed table test --
--------------------------
-- Add/modify columns
alter table TEST rename column B to C;
Code:
----------------------------
-- No differences found --
----------------------------