Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SQL> commit;
Commit complete.
SQL> col name format A10
SQL> select NAME,
to_char(USER_time_start,'dd-mon-yyyy') "Start",
to_char(USER_time_end, 'dd-mon-yyyy') "End"
from hr.emp;
NAME Start End
---------- ----------- -----------
ADAM 01-jan-2000 31-dec-2011
Note: You still see the USER_START_TIME and USER_END_TIME columns in both
describes because they are part of the user's definition of the table.
SQL> set lines 80
SQL> desc hr.emp
Name Null? Type
----------------------------------------- -------- ---------------------
-------
EMPNO NUMBER
SALARY NUMBER
DEPTID NUMBER
NAME VARCHAR2(100)
USER_TIME_START DATE
USER_TIME_END DATE