Procurement - EBS (MOSC)

MOSC Banner

Joining hr_locations with HR_ORGANIZATION_UNITS

in Procurement - EBS (MOSC) 3 commentsAnswered ✓

Hello,

I'm working on the query below to bring in hou.Name Department_Name with details from HR_Locations. They both should join on location_id but I keep returning no data when paired together.

select hl.location_name,
hl.INTERNAL_LOCATION_CODE,
hl.ADDRESS_LINE_2,
hl.POSTAL_CODE,
hl.REGION_2,
hl.TOWN_OR_CITY,
hou.Name Department_Name
FROM
HR_LOCATIONS hl,
HR_ORGANIZATION_UNITS hou
WHERE 1=1
AND hl.location_id = hou.location_id

Any tips or guidance is greatly appreciated.

Thanks,

Sean

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center