Stored Procedure complilation errors using the "With" statement.
Errors for PROCEDURE EAN_PAGE_VIEWS:
LINE/COL ERROR
-------- -----------------------------------------------------------------
1/43 PLS-00103: Encountered the symbol "(" when expecting one of the
following:
:= . ) , @ % default character
The symbol ":=" was substituted for "(" to continue.
4/7 PLS-00103: Encountered the symbol "ALL_EANS" when expecting one
of the following:
<a SQL statement>
set serveroutput on;
CREATE OR REPLACE PROCEDURE ean_page_views(i_ean IN varchar2(30), i_rank IN number) IS