My query is somewhat like this:
select 1 from dual where :p1_task_date in (sysdate,sysdate+1,sysdate-1) and :p1_task_id is not null
This works fine, but I wanted to get next/previous working days (next/previous week days) instead of sysdate+1 and sysdate-1. I tried something like:
select next_day(sysdate, to_char(sysdate+1,'DAY')) from dual`
but cannot proceed with this :(
Please Help!!!!