Я работаю над sqldeveloper (pl / sql)
DECLARE
CUSTOMER_NAME VARCHAR(50);
PRODUCT VARCHAR(100);
BEGIN
SELECT C.FIRST_NAME ||','|| C.SURNAME, P.PRODUCT
INTO CUSTOMET_NAME, PRODUCT
FROM CUSTOMER C, PRODUCT P, BILLING B, PRODUCT_BILLING PB
WHERE B.BILL_ID = PB.BILL_ID
AND P.PRODUCT_ID = PB.PRODUCT_ID
AND C.CUSTOMER_ID = B.CUSTOMER_ID
AND P.PRICE > 10000;
DBMS_OUTPUT.PUT_LINE('CUSTOMER: '||CUSTOMER_NAME);
DBMS_OUTPUT.PUT_LINE('PRODUCT: '||PRODUCT);
END;
Я выполнил часть объявления, но получил это сообщение об ошибке. Я погуглил, но так и не понял.
Error starting at line : 160 in command -
DECLARE
CUSTOMER_NAME VARCHAR(50);
PRODUCT VARCHAR(100);
Error report -
ORA-06550: line 3, column 25:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
begin function pragma procedure subtype type <an identifier>
<a double-quoted delimited-identifier> current cursor delete
exists prior
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action: