Hi
I`ve did a quick test on 15.5 AIX 64bits as follows
create table test1 (t1c1 char(10) , t1c2 char(10), constraint pk1 primary key (t1c1))
create table test2 (t2c1 char(10) , t2c2 char(10), constraint pk2 primary key (t2c1))
create view test3 as select t1c1, t1c2 ,t2c1, t2c2 from test1 inner join test2 on t1c1 = t1c2
select t1c1 from test3
but the plan still shows test1 getting joined with test2
Its the same principle as the below on SQL Anywhere
Elimination of unnecessary inner and outer joins
Does the lastest ASE versions support this feature?
Thanks!
Alexandre