给定的 Oracle 查询通过替换变量将数据插入表中。我如何在 PostgreSQL 中实现相同的目标?
INSERT INTO control_threshold (
threshold_id, group_name, description, sql, low_value, high_value)
VALUES(
threshold_seq.nextval, '&2', '&1', TRIM('&5' || '&6' || '&7' || '&8' || '&9'),
trim('&3'), trim('&4'));
Run Code Online (Sandbox Code Playgroud) 有没有办法将现有的HSTORE
数据类型列(具有数据)修改JSON
为 Postgres 数据库中的数据类型?