I have dates in the database with the format YYYYMMDD. But i would like to update them all to MM/DD/YYYYY.
How do i do that?
There is no format stored in the date/time data types. If you want an specific output format use the to_char function
select to_char(current_date, 'MM/DD/YYYY');
If the date column is text then first cast it to date to use the above function
select to_char(start_date::date, 'MM/DD/YYYY');
select version()start_date text? Post the output of \d my_table