★★★★☆PL/SQL中如果判断一个日期是周末☆★★★★ select to_char(sysdate,'d') from dual;----6//星期五 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if to_char(sysdate,'d')='6' then /*程序段*/ end if; if to_char(sysdate,'d')='6' thenend if;------------------------------------就可以了. select to_char(sysdate,'dy') from dual; select * from to_char(sysdate,'day')='星期日' 星期日是以周的开始“1”,大家的方法都可以的if to_char(sysdate,'d')='6' then /*程序段*/ end if;比较好!!! oracle开窗函数到底有哪些啊,谁能一一举个例不 oracle如何安装? 向大家求解,来者有分 关于sql server 中的in 如何将oracle驱动加到classpath中 一个新人想学oracle。 数据量很大时应考虑那些方面来提高系统的执行速度 再问级联约束问题(急) ORACLE 索引问题 oracle 日志提示ORA-28546 什么问题 OTN中文论坛,欢迎您提出自己ORACLE问题,供大家讨论,谢谢 请问在unix下如何用c++操作oracle数据库?急!急!急!
/*程序段*/
end if;
end if;
------------------------------------
就可以了.
if to_char(sysdate,'d')='6' then
/*程序段*/
end if;
比较好!!!