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!
SELECT
case TO_CHAR( :from_date,'D')
when '1' then 'Sunday'
when '2' then 'Monday'
when '3' then 'Tuesday'
when '4' then 'Wednesday'
when '5' then 'Thursday'
when '6' then 'Friday'
when '7' then 'Saturday' else 'no data'
end d
from dual