Categories
- All Categories
- 130 Oracle Analytics News
- 24 Oracle Analytics Videos
- 14.5K Oracle Analytics Forums
- 5.5K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 50 Oracle Analytics Trainings
- 8 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 8 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