postgresql中没有dual表解决方案

CREATE OR REPLACE VIEW dual AS
SELECT NULL::"unknown"
WHERE 1 = 1;

ALTER TABLE dual OWNER TO jxdx;
GRANT ALL ON TABLE dual TO jxdx;
GRANT SELECT ON TABLE dual TO public;

你可能感兴趣的:(postgresql中没有dual表解决方案)