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: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Need help SQL to pull Previous work schedules and present Work schedules of employees

edited Mar 6, 2025 9:50PM in Reporting and Analytics for HCM 4 comments

Summary:

I am currently working on a project that requires retrieving both the previous and current work schedules for employees from our database. I would appreciate your expertise in crafting an SQL query that can achieve this.

I'm using this SQL Query below:

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
papf.person_number,
zss.schedule_name,
zsp.pattern_name,
zspd.day_start_num,
zspd.day_stop_num,
(zspd.day_stop_num + 1) - zspd.day_start_num AS days,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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