Skip to Main Content

APEX

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!

Date Picker Value Comparison

user10569054Jul 22 2022

Hello There,
I have 1 master table where i store values for each month with its 1st date. like below

1.png
The P_MONTH column i'm taking in Below PL/SQL to retrieve that month P_PRODUCTION AND P_SALES values
[code]
declare
begin
select P_PRODUCTION INTO :PRODUCTION from XX_PRJ_STOCK_IKT_PROJ_MST where to_char(P_MONTH,'DD-MON-YY')=to_char(trunc(:UPLOAD_DATE,'Month'),'DD-MON-YY');
end;
[/code]

I tried multiple ways like changing to_char , to_date with different date formatting. also changed UPLOAD_DATE Format Mask in field properties but still i'm receiving below error.
Ajax call returned server error ORA-01403: no data found for Execute PL/SQL Code.

Any Help will be appreciated.

This post has been answered by user10569054 on Jul 27 2022
Jump to Answer
Comments
Post Details
Added on Jul 22 2022
1 comment
290 views