I am trying to execute the procedure that I created, however whenever I do EXEC ProductLineSale; it tells me Error(456,1): PLS-00103: Encountered the symbol "EXEC"
ALTER TABLE Product
ADD SalePrice DECIMAL(6,2);
CREATE OR REPLACE PROCEDURE ProductLineSale
AS
BEGIN
UPDATE Product
SET SalePrice = 0.90 * ProductStandardPrice
WHERE ProductStandardPrice >= 400;
UPDATE Product
SET SalePrice = 0.85 * ProductStandardPrice
WHERE ProductStandardPrice < 400;
END;
EXEC ProductLineSale;
select *
FROM Product;