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 that fetch Calendar Events and Location

Summary:

I need a query to link Locations and Calendar Events, but I couldn't figure how to do it. Anyone have any query like these? So far I've accomplish this one but I think I shouldn't be using business_group_id to link these two, since it get's me holidays that aren't for that location

Content (please ensure you mask any confidential information):


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


Code Snippet (add any code snippets that support your topic, if applicable):

SELECT location.INTERNAL_LOCATION_CODE    LOCATION_CODE

     , location.location_name             LOCATION_NAME

     , TO_CHAR(calendar.START_DATE_TIME, 'YYYY/MM/DD') || ' - ' || TO_CHAR(calendar.END_DATE_TIME, 'YYYY/MM/DD') LOCATION_HOLIDAY

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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