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

Suboptimal relationship between rcl_debrief_headers and svc_work_orders

Summary:

The only relationship we can establish is- rcl_debrief_headers.parent_entity_id = svc_work_orders.wo_id, which is suboptimal as parent entity column is not indexed in rcl header table. Please let us know if there's another way to join these tables.


Content (please ensure you mask any confidential information):

Following simple Query goes for a full scan on rcl_debrief_headers.

SELECT 1 col
FROM rcl_debrief_headers rch,svc_work_orders swo
WHERE rch.parent_entity_code = 'EC_WO'
AND rch.parent_entity_id = swo.wo_id
AND swo.wo_number = :p_wo_num

Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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