Skip to content
Advertisement

postgres12 alter table with type cast syntax error

I’m trying to alter a table with values like below. The data type is a string but I want to change it to numbers.

Advertisement

Answer

Well, the simple conversion doesn’t work. One method would be:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement