Professional Documents
Culture Documents
Date Manipulation
Date Manipulation
ORDER_ TO_CHAR(O
------ ---------
19001O saturday
19002O friday
46865O wednesday
19003O saturday
46866O thursday
19008O monday
6 rows selected.
2. List the month & date when the order must be delivered.
TO_CHAR(D DELYDATE
--------- ---------
april 07-APR-02
february 20-FEB-02
july 20-JUL-02
july 26-JUL-02
june 27-JUN-02
may 22-MAY-02
6 rows selected.
3. List the orderdate in format ‘DD-Month-YY’.
TO_CHAR(ORDER_D
---------------
12-June -04
25-June -04
18-February -04
03-April -04
20-May -04
24-May -04
6 rows selected.
SYSDATE+1
---------
23-APR-11