Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> update date filed in tables?
Hi all,
I have about a dozen tables that have a 'thrudate' field. Right now, most of the values of the 'thrudate' field are '31-dec-99' (some are not). I need to update that value to '31-dec-2099'? Does the following SQL work?
update <table1> set thrudate = to_date('31-dec-2099', 'dd-mon-yyyy') where thrudate = to_date ('31-dec-99', 'dd-mon-yy') ;All opinions are welcome.
Thanks in advance.
Yongge
yliu_at_creighton.edu
Received on Fri Apr 23 1999 - 09:22:11 CDT
![]() |
![]() |