Monthly Archives: October 2019
Get Start date and End date in oracle SQL
select trunc((fnd_date.canonical_to_date(:P_DATE)),’month’) from dual; –Start_date
select last_day(fnd_date.canonical_to_date(:P_DATE)) from dual; –End_date
As in the above statement the parameter P_DATE has to be supplied in the below format
2019/10/20 00:00:00

