Skip to Main Content

Oracle Database Discussions

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!

ORA-00936: missing expression

Zeeshan FazalAug 18 2024

select to_char( add_months( start_date, level-1 ), 'fmMonth' )
from (select date :S_date start_date,
date :E_Date end_date
from dual)
connect by level <= months_between(
trunc(end_date,'MM'),
trunc(start_date,'MM') )+1

Please find the Error where i did mistake. I want to populate the Month Name that is In date Range

Comments
Post Details
Added on Aug 18 2024
1 comment
247 views