SQL> create table a10(id int,data_date timestamp);
Table created.
SQL> insert into a10 values(1,date'2015-09-02');
1 row created.
SQL> insert into a10 values( 2, to_date('201208161100', 'YYYYMMDDHH24MI'));
1 row created.
SQL> commit;
Commit complete.
SQL> select * from a10;
ID
----------
DATA_DATE
---------------------------------------------------------------------------
1
02-9月 -15 12.00.00.000000 上午
2
16-8月 -12 11.00.00.000000 上午
SQL> set linesize 200
SQL>
SQL> /
ID DATA_DATE
---------- ---------------------------------------------------------------------------
1 02-9月 -15 12.00.00.000000 上午
2 16-8月 -12 11.00.00.000000 上午
SQL> update a10 set data_date= to_date('201508161100', 'YYYYMMDDHH24MI') where id=2;
1 row updated.
SQL> select * from a10;
ID DATA_DATE
---------- ---------------------------------------------------------------------------
1 02-9月 -15 12.00.00.000000 上午
2 16-8月 -15 11.00.00.000000 上午