Thanks for the answer. What is the best way to add the cursor into the stored procedure? Do you just add the cursor after the BEGIN in the stored procedure???
CREATE OR REPLACE PROCEDURE KEVIN
....
BEGIN
DECLARE
v_part_no bp_kev_test.part_no%TYPE;
v_class bp_kev_test.class%TYPE...
I think the connect by has to be an actual userid. I jsut created a link between 2 db's, and it was with my own id, identified by my password. Try setting up a dummy id with read only rights on the second db, and see if that works. Hope it helps.
K
My questions is reletively simple. I have a cursor that fetches some data. After each fetch it calls a procedure, and passes the selected data to it. Everything runs fine when I run it from SQL PLUS. How do I execute this in the Unix environment? Would I have a scheduling tool kick off the...
I am having some trouble when I try to connect to multiple databases with Crystal. I am trying to connect to an Informix database, and an Oracle database. I can get the tables pulled into Crystal, but when I try to link them I get error messages. I can link one field fine, but when I try to...
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.