8: per_addresses pa
9: where papf.effective_end_date >= to_date('01/03/2009','DD/MM/YYYY')
10: and papf.person_id = p_person_id
11: and papf.business_group_id in (select business_group_id
12: from per_business_groups
13: where legislation_code='ZA')
14: and pa.person_id = papf.person_id
15: and style = 'ZA_SARS'
16: and primary_flag = 'N'