I have a query that I can't quite get to work correctly in Informix, but it works fine in oracle. The problem is, it says null isn't in any table in any column, so I was wondering if I could change the word null to 1 (I think that is the value of null in informix). Or will that be the equivalent to row 1? Any ideas.
select * from awj_shop a
where not exists (select null from tcc_shop t
where t.name = a.name and t.address = a.address
and t.zip = a.zip)
Replace with
select * from awj_shop a
where not exists (select 1 from tcc_shop t
where t.name = a.name and t.address = a.address
and t.zip = a.zip)
Dodge20
select * from awj_shop a
where not exists (select null from tcc_shop t
where t.name = a.name and t.address = a.address
and t.zip = a.zip)
Replace with
select * from awj_shop a
where not exists (select 1 from tcc_shop t
where t.name = a.name and t.address = a.address
and t.zip = a.zip)
Dodge20