no of day in a week
select to_char(sysdate,'day')
from dual;
thursday
i want any function if the result is
Saturday 1
Sunday 2
Monday 3
Friday 7
how i make this ?
0
select to_char(sysdate,'day')
from dual;
thursday
i want any function if the result is
Saturday 1
Sunday 2
Monday 3
Friday 7
how i make this ?