Customer Support Language
 
HomeKnowledge BaseCampaignMaxCampaignMax: Show people/companies not used
Information
Article ID119
Created On4/21/2005
Modified4/21/2005
Share With Others
CampaignMax: Show people/companies not used
The following query will show people who are not tied to the following tables: Pledges, Payments, Sponsors, and Agencies.

select *
from
camnamesv na,
camsponsors sp,
campledges pl,
campayments pa,
camagencies ag
where
na.nameid = sp.nameid (+) and sp.nameid is null
and na.nameid = pl.nameid (+) and pl.nameid is null
and na.nameid = pa.nameid (+) and pa.nameid is null
and na.nameid = ag.nameid (+) and ag.nameid is null