Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Query functions only if "Connect By Prior" added

"SELECT DISTINCT hrao.effective_end_date effective_end_date1, hov_inner.status status1, hov_inner.organization_id org_id FROM per_dept_tree_node_v pdt, hr_all_organization_units_vl hrao, hr_organization_v hov_inner WHERE 1=1 AND pdt.organization_id = hrao.organization_id AND hrao.organization_id = hov_inner.organization_id AND hov_inner.status = 'A' START WITH pdt.organization_id = HOV_INNER.ORGANIZATION_ID CONNECT BY NOCYCLE PRIOR pdt.organization_id = pdt.parent_organization_id.

This query runs only by adding CONNEC BY NOCYCLE PRIOR, it errors out otherwise with ORA-01788: CONNECT BY clause required in this query block. Oracle SR was raised and we tried multiple methods including Oracle Fixes to fix or to isolate this data issue but we could not. The only fix was to keep the "CONNECT BY NOCYCLE PRIOR".

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!