You are on page 1of 1

no of working days

-----------------1 select count(*) from


2 (select to_date('01-jan-2010')+rownum-1 date1
3 from all_objects)
4 where date1<=to_date('31-dec-2010')
5* and to_char(date1,'dy') not in('sat','sun')
SQL> /
COUNT(*)
---------261

You might also like