I´m using Toad Extension for Eclipse Juno and PostgreSQL 9.2. Toad show syntax error on instruction: SELECT COALESCE(other_contents_percentage, 0) FROM sapmt_product WHERE sapmt_product_id = NEW.sapmt_product_id INTO v_Other_Percentage; Toad accepts: SELECT COALESCE(other_contents_percentage, 0) INTO v_Other_Percentage FROM sapmt_product WHERE sapmt_product_id = NEW.sapmt_product_id;
↧