Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cursors in embedded sql in c

604067Nov 9 2007 — edited Nov 10 2007
Hi, i have this cursor as follows in sql/pl:

cursor partsc (s spj.s#%type)
is select * from Parts p where exists (select * from SPJ j where p.p#=j.p# and j.s#=s);

Im trying to translate this into c code for it to work the same

I got a non paramterized one to work but dont know how to use this one.

Thanks

Message was edited by:
user601064
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2007
Added on Nov 9 2007
2 comments
363 views