DBA Data[Home] [Help]

VIEW: APPS.HR_CERIDIAN_500_SPOUSE_V

Source

View Text - Preformatted

SELECT c.business_group_id, c.person_id, c.contact_person_id, sp.full_name, sp.employee_number, sp.date_of_birth from per_all_people_f sp, per_contact_relationships c WHERE sp.person_id = c.contact_person_id and c.contact_type = 'S' and trunc (hr_ceridian.get_cer_extract_date) between sp.effective_start_date and sp.effective_end_date and trunc(hr_ceridian.get_cer_extract_date) between c.date_start and nvl(c.date_end, to_date('4712/12/31', 'YYYY/MM/DD'))
View Text - HTML Formatted

SELECT C.BUSINESS_GROUP_ID
, C.PERSON_ID
, C.CONTACT_PERSON_ID
, SP.FULL_NAME
, SP.EMPLOYEE_NUMBER
, SP.DATE_OF_BIRTH
FROM PER_ALL_PEOPLE_F SP
, PER_CONTACT_RELATIONSHIPS C
WHERE SP.PERSON_ID = C.CONTACT_PERSON_ID
AND C.CONTACT_TYPE = 'S'
AND TRUNC (HR_CERIDIAN.GET_CER_EXTRACT_DATE) BETWEEN SP.EFFECTIVE_START_DATE
AND SP.EFFECTIVE_END_DATE
AND TRUNC(HR_CERIDIAN.GET_CER_EXTRACT_DATE) BETWEEN C.DATE_START
AND NVL(C.DATE_END
, TO_DATE('4712/12/31'
, 'YYYY/MM/DD'))