I have varchar data type column and date data type column.
varchar
date
I have to update varchar column data into date column
syntax for typecasting:
alter table table_name alter column_name type converting_data_type using(column_name::converting_data_type)
converting from varchar to date
alter table table_name alter column_name type date using(column_name::date)