Can you add the table description please? Is DOB a date type?
- Jens
2 Answers
1
votes
Try this way:
update football_team
set DOB=TO_DATE('1991-06-07', 'yyyy-mm-dd')
where id=1;
0
votes
it's because date FormatString not correct
try following
update football_team set DOB=TO_DATE('1991/06/07','yyyy/mm/dd') where id=1;
or your custom format
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
DOBa date type? - Jens