select to_char(sysdate,'d') from dual;
----
6
//星期五

解决方案 »

  1.   

    if to_char(sysdate,'d')='6' then
       /*程序段*/ 
    end if;
      

  2.   

    if to_char(sysdate,'d')='6' then
    end if;
    ------------------------------------
    就可以了.
      

  3.   

    select to_char(sysdate,'dy') from dual;
      

  4.   

    select * from to_char(sysdate,'day')='星期日'
      

  5.   

    星期日是以周的开始“1”,大家的方法都可以的
    if to_char(sysdate,'d')='6' then
       /*程序段*/ 
    end if;
    比较好!!!