I have an air_id column, which is a varchar in the route of the table, now I want to copy this value to the air_id_int column, which is of type int. I cannot get the syntax correctly, though ..
This is what I have:
UPDATE route SET airline_id_int = CAST(airline_id, int);
source
share