ALTER TABLE to change the datatype of existing columns is very limited. You can use this statement to change the VARCHAR and increase the number of characters but I don't think you can do that to change TIMESTAMP to VARCHAR.
You can add a column and insert the data values in it while casting to VARHCAR and later on rename the column if required!
↧