Hi Jeremy,
You can use a sub-query similar to this
Select employee,salary from EMPLOYEETABLE
where salary NOT IN
( SELECT salary FROM lvw WHERE salary<>g_Packet_type )
HTH,
Michal
I am trying to work with the examples from http://oradoc.photo.net/ora81/DOC/server.815/a67842/04_colls.htm (search for Manipulating Local Collections )
Since I do not have permission to create a new type I tried to use a "simplified" version namely
DECLARE
TYPE CourseList IS...
Thanks karluk for your answer.
However, I have tested again and
SELECT
ROWNUM,z.*
FROM
(SELECT 'hello','world' FROM DUAL ORDER BY 1) z
does work in SQl-Plus (I am using oracle version 8.1.5.0.0 if that makes a difference)
I am still seeking an answer to my original question: why isn't this...
Hi,
I hope this subject isn't too confusing!
I am trying to excute the following
DECLARE
CURSOR p_cursor1 IS
SELECT rownum,z.*
FROM
(SELECT 'hello','world' FROM DUAL ORDER BY 1) z;
BEGIN
OPEN p_cursor1;
CLOSE p_cursor1;
END;
This generates the error
PLS-00103: Encountered the symbol...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.