When we run the below query only few country's results working remaining are timed out error coming
Hi Team,
When we run the below query with help of parameter of date and country only few country's working and remaining are not coming AND error is time out coming.
ERROR:SQL query time exceeds the limit (500 sec). Stopped processing.
Could please help on this.
SELECT DISTINCT PAPF.PERSON_NUMBER "PERSON_NUMBER"
,PLDG_TL.NAME "COUNTRY"
,PLDF.LOCATION_NAME "LOCATION"
,PAAF.****_ATTRIBUTE35 "HUB"
,HAUFT.NAME "BUSINESSUNIT"
,decode(PPLF.****,'F','Female','M','Male','') "GENDER"
,PJF_TL.JOB_FAMILY_NAME "JOB_FAMILY"
,PJ_TL.NAME "JOB"
,PG.GRADE_CODE "LEVEL"
,EMP_PPNF.FULL_NAME "EMPLOYEE_NAME"
,TO_CHAR(PPOS.ORIGINAL_DATE_OF_HIRE,'YYYY-MM-DD') HireDate