Postgresql – I'm trying to create a SQL procedure. ERROR: syntax error (example position: "SELECT")
CREATE PROCEDURE test() BEGIN SELECT 'hello, I am a Procedure' AS hi; END Error: ERROR: syntax error (example position: "SELECT") LINE 3: SELECT 'hello, I am a Procedure' AS hi; ^ ERROR: syntax error (example position: "SELECT") SQL state: 42601…