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

Use TIMESTAMPADD in SQL Prefix

edited Aug 30, 2021 5:01PM in Reporting and Analytics for HCM 1 comment

Summary

What is the correct syntax for using TIMESTAMPADD in a SQL prefix without using a presentation variable prompt?

Content

Hello - I am creating an analysis that will have a corresponding agent to run weekly. The analysis is in the Compensation - Salary Details Real Time subject area. I would like to write an effective date prefix to pull the data as of the last day of the prior month, but have been unable to return results without an error. If I hardcode the date (e.g. SET VARIABLE PARAM_EFFECTIVE_DATE='2021-07-31'; ) I get the correct results, but as soon as I try to include a TIMESTAMPADD function, I get an error message. 

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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