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.

Set PARAM_EFFECTIVE_DATE within a UNION

edited Jan 18, 2021 4:19PM in Reporting and Analytics for HCM 5 comments

Summary

Combine results of 2 analysis when one has an effective date

Content

I have two reports with the same columns and I am combining them with a UNION. However one analysis will be run as of today and the 2nd analysis needs to have an effective date using "SET VARIABLE PARAM_EFFECTIVE_DATE"

Is there any way to combine these two analysis with UNION? With SQL I get an error if I apply the SET VARIABLE PARAM_EFFECTIVE_DATE clause after the UNION.

e.g. 

UNION

SET VARIABLE PARAM_EFFECTIVE_DATE='2022-01-01';

SELECT...etc

 

Thanks!

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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