postgresql中 from dual 報錯的解決方案

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

ALTER TABLE dual OWNER TO nnnn;
GRANT ALL ON TABLE dual TO  ;
GRANT SELECT ON TABLE dual TO public;
相關文章
相關標籤/搜索