sqlplus连接后查看时间
SQL> select CTIME from TEST_YY where ID='1';
CTIME
---------
12-SEP-16
12-SEP-16
将时间格式转换显示
SQL> select to_char(CTIME,'yyyy-mm-dd hh24:mi:ss') from TEST_YY where ID='1';
CTIME
---------
20160912 16:01:03
20160912 16:06:00
修改时间属性
update TEST_YY set CTIME=to_date('2016-10-06 13:23:44','yyyy-mm-dd hh24:mi:ss') where ID='1';