№
SQL> select to_char(sysdate
TO_CHAR(SYSDATE
SQL> select to_char(sysdate
T
№
SQL> select sysdate
SYSDATE T
類似:
select to_char(sysdate
select to_char(sysdate
select to_char(sysdate
select to_char(sysdate
ddd 年中的第幾天
WW 年中的第幾個星期
W 該月中第幾個星期
D 周中的星期幾
hh 小時(
hh
Mi 分
ss 秒
№
SQL> select to_char(sysdate
TO_CHAR(SYSDATE
星期四
№
alter session set NLS_DATE_FORMAT=
№
select sysdate from dual;
№
select trunc(sysdate) from dual;
select trunc(sysdate) +
select trunc(sysdate) +
select trunc(sysdate) +
№
select trunc(sysdate+
select trunc(sysdate)+
№
select trunc(sysdate
№
select trunc(add_months(sysdate
№
select last_day(sysdate) from dual;
select last_day(trunc(sysdate)) from dual;
select trunc(last_day(sysdate)) from dual;
select trunc(add_months(sysdate
№
select trunc(sysdate
from
(select rownum rn from all_objects
where rownum<
№
SELECT TO_CHAR(SYSDATE
№
select add_months(sysdate
№
select decode(to_char(last_day(trunc(sysdate
№
select decode(to_char(last_day(trunc(add_months(sysdate
№
select ceil(to_number(to_char(sysdate
select to_char(sysdate
Trackback: x?PostId=
From:http://tw.wingwit.com/Article/program/Oracle/201311/16898.html