llmclaughlin
Programmer
I have procedure which returns a ref cursor like.
PROCEDURE DEST_WORK_LIST_DATE (outCURSOR OUT OUTPUTCURSOR)
IS
BEGIN
OPEN outCURSOR FOR
SELECT u_worklist_date, u_worklist_increment
FROM u_worklist_user
WHERE TRUNC (u_worklist_date) = TRUNC (SYSDATE)
AND u_type = 'DESTINATIONALIQUOT';
END DEST_WORK_LIST_DATE;
Is there a way I can call this from another procedure to return the data to it or maybe should say get this cursor into another cursor in another procedure.
Louie
PROCEDURE DEST_WORK_LIST_DATE (outCURSOR OUT OUTPUTCURSOR)
IS
BEGIN
OPEN outCURSOR FOR
SELECT u_worklist_date, u_worklist_increment
FROM u_worklist_user
WHERE TRUNC (u_worklist_date) = TRUNC (SYSDATE)
AND u_type = 'DESTINATIONALIQUOT';
END DEST_WORK_LIST_DATE;
Is there a way I can call this from another procedure to return the data to it or maybe should say get this cursor into another cursor in another procedure.
Louie