79831618

Date: 2025-11-27 10:46:31
Score: 2.5
Natty:
Report link

Thanks @MTO

Below part of your answer itself work for converting the date into the expected format without using insert command

i tried this way

~~~

create table basetable as
with test_table as (select * from basetable)
SELECT t.*, date_str,
       TO_DATE(date_str DEFAULT NULL ON CONVERSION ERROR, 'DD/MM/RR') as formatted_date
from test_table t

~~~

this worked as expected

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @MTO
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AdhiHari