Subject | Re[6]: [ib-support] Delete where exists problem |
---|---|
Author | Alexander Tabakov |
Post date | 2003-03-20T13:55:10Z |
>your exists isn't really testing anything:)) You may laugh but I still don't understand.
>it says... in plain english
>delete all records from this table where there exists any record in another table
First of all if what you say is true why this statement deletes some
times the whole table and sometimes what I realy needed? Data is one
and the same.
Second, I have a "party_id = xxxxx" predicate in the where clause of
the select statement. So why would "exists" work on "any record in another table"?
Nevertheless I admit using IN is a much better idea.
--
Best regards,
Alexander mailto:saho@...