Categories
- All Categories
- 86 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14.1K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 48 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations Gallery
- 2 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Calculate Yesterday date based on CURRENT_DATE variable
Giuseppe 1234
Rank 2 - Community Beginner
Summary
Calculate Yesterday date based on CURRENT_DATE variable
Content
Hello,
how do I could calcolate obtain yesterday date based on current_date field in an OTBI analysis, to use it in a where clause for example?
ex "...WHERE "Compensation Person Worksheet Details"."Worksheet Last Update Date" < CURRENT_DATE-1" (not working)
Thank you in advance
0
Comments
-
maybe use: TIMESTAMPADD(SQL_TSI_Day , -1, current_date)
0 -
What message are you getting with CURRENT_DATE - 1 ? and yes TIMESTAMPADD is your other option
0