Philippe Malera
Member²
It seems that we could only create such view with SQL*Plus, but not with PLSQL Developer.
This gives this error :
Note: Post on Stack Overflow
SQL:
CREATE OR REPLACE VIEW test$v AS
WITH
FUNCTION with_function(p_id IN VARCHAR2) RETURN VARCHAR2 IS
BEGIN
RETURN p_id;
END;
SELECT with_function(dummy) AS dummy
FROM dual;
/
This gives this error :
- ORA-06553: PLS-103: Encountered the symbol "end-of-file"
Note: Post on Stack Overflow