Question: I created this package head SQL> CREATE OR REPLACE PACKAGE pointOfSal AS 2 -- Procedure to add new customer 3 PROCEDURE add_customer ( 4 customer_name
I created this package head
SQL> CREATE OR REPLACE PACKAGE pointOfSal AS 2 -- Procedure to add new customer 3 PROCEDURE add_customer ( 4 customer_name IN VARCHAR2, 5 customer_phone IN VARCHAR2 6 ); 7 -- Cursor to check if customer exists 8 CURSOR checkExistingCustomer (customer_name IN VARCHAR2) IS 9 SELECT customer_name 10 FROM customers 11 WHERE customer_name = customer_name; 12 END pointOfSal; 13 /
and it worked
but my package body wont work, can someone tell me why?

it says Package Body created with compilation errors.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
