cannot cast type numeric to timestamp without time zone
数字类型无法直接修改成时间格式
第一步:整形转换为字符串类型
alter table 表名称 alter 列名称 type varchar;
第二步:
alter table 表名称
alter 列名称 type timestamp using state_date::timestamp without time zone
cannot cast type numeric to timestamp without time zone
数字类型无法直接修改成时间格式
第一步:整形转换为字符串类型
alter table 表名称 alter 列名称 type varchar;
第二步:
alter table 表名称
alter 列名称 type timestamp using state_date::timestamp without time zone