Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL - Updating Time : How???
The update clause you must use, if I've understood your problem, is the
following...
SQL> update prova set a=to_date('1-1-1998 01:04:00','dd-mm-yyyy hh:mi:ss') 2 where a=to_date('1-1-1998','dd-mm-yyyy');
1 fila actualitzada.
SQL> select TO_CHAR(a,'DD-MON-YY HH:MI:SS') FROM prova;
TO_CHAR(A,'DD-MON-YYHH:MI:SS')
David Bosch Geli Received on Tue Nov 10 1998 - 05:08:07 CST