Set PARAM_EFFECTIVE_DATE within a UNION — Cloud Customer Connect
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: Oracle Cloud SCM and Purchasing

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!