My Oracle Support Banner

DELETE END DATED RECORDS IN HZ_PERSON_PROFILES TABLE (Doc ID 2424390.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Trading Community - Version 12.1.3 and later
Oracle Receivables - Version 12.1.3 and later
Information in this document applies to any platform.

Goal

Qn1:On : 12.1.3 version, Others

It is observed there are many records end dated in HZ_PERSON_PROFILES for multiple parties and it would be desired to delete these records.
The following query has identified the records which are having this issue and there are xxxxx party_ids records having multiple end dated record in HZ_PERSON_PROFILES.

select party_id, count(*)
from HZ_PERSON_PROFILES
where EFFECTIVE_END_DATE is not NULL
group by party_id
having count(*) > 1;

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.