To pull the date updated by eliminating the previous version we can use this truncate staement for date tracked tables which will give only the updated values.
E.g:- select nvl(pac.segment1,null) from 
                         per_person_analyses ppa,
                         per_analysis_criteria pac,
                         per_all_people_f papf 
                         where ppa.ANALYSIS_CRITERIA_ID=pac.ANALYSIS_CRITERIA_ID 
                         and ppa.id_flex_num =p_id_flex_num and ppa.person_id=p_person_id 
                         and papf.person_id=ppa.person_id and
                         trunc(sysdate) between papf.EFFECTIVE_START_DATE
                         and papf.EFFECTIVE_END_DATE and trunc(sysdate) between ppa.DATE_FROM
                         and nvl  (ppa.DATE_TO,trunc(sysdate));
Oracle Technical Experience and Test Cases Shared from different resource and through self leanings.
Subscribe to:
Post Comments (Atom)
COALESCE-SQL
Coalesce- return the null values from the expression. It works similar to a case statement where if expression 1 is false then goes to expr...
- 
In HRMS we do use date with timestamp for EIT ans SIT segments. To change the format od the date we can use fnd_date . canonical_to_date ...
- 
Mandatory Changes TCA model based Changes Receivable module based views used to populate the customer and contact information has ...
- 
Extract Query: SELECT 'RULE', PET.Element_Name, TO_CHAR(PPR.legislation_code) ATTRIBUTE1, TO_CHAR(PPR.assignment_status_typ...
 
No comments:
Post a Comment
Thanks for your comments submitted.,will review and Post soon! by admin.