Example Table:
CREATE TABLE example_table (
example_column TEXT,
)
Example Record (json stored as text):
INSERT INTO example_table VALUES ('{"value": "1.3", "Type": "float"}')
Goal is to:
- Update column type to Double Precision
- Update the value to be 1.3
I know the following is close to what I want, but I can't find the correct syntax.
ALTER TABLE example_table ALTER COLUMN example_column DOUBLE PRECISION...missing parse syntax