It has been a while since I did any Oracle but I think this will work..
UPDATE your_table
SET date-of-birth = '15-MAY-'||EXTRACT(YEAR FROM date-of-birth)
WHERE ...
and please don't forget a WHERE clause (unless you want all birth dates set to May 15th)
meandyou
Last Wiki Answer Submitted: September 24, 2009 3:43 pm by Meandyou5,205 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
UPDATE your_table
SET field_DOB = ’27-FEB-’||EXTRACT(YEAR FROM field_DOB)
where …
It’s working! Thanks so much.
You’re very welcome.
And thank you for letting me know that it worked.