Anybody knows why i cant compile a Procedure in pl/sql where i have a cursor like this:
cursor ajm is
select m.name,(select dt.dept from depttable dt where dt.name=m.name) from master m;
DaPi: I suppose that everyone here is sure that I just copy your answers (sometimes changing the order of words or making intentional typos to hide this). Swear I don't Regards, Dima
Thanks DaPi, your answer gives a different resultset that mine does. My query returns nulls if the name is not found. Your query would return the names that exist in both tables.
cursor ajm is
select m.name, dt.dept
from master m, depttable dt
where dt.name(+)=m.name;
With this modification i found it would work fine.
Thanks Anyway
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.