Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Compare report generation date with sysdate

User_R4VJDJun 7 2021

Hi ,
Requirement: Report should be generated only one time per day.
Solution: I have to compare report generation date with sysdate, if its not equal then report will be processed only once per day.
Query:
select * from table1 where Trunc(report_generation_DATE) != TRunc(sysdate);
Whether this where condition will work fine in PLSQL.
i)Applying trunc on both side
ii) != --> condition

This post has been answered by Frank Kulash on Jun 7 2021
Jump to Answer

Comments

Post Details

Added on Jun 7 2021
3 comments
131 views