Line 21: CURSOR C2 IS SELECT qa_pc_plan_relationship_s.nextval FROM dual;
17: X_Last_Update_Login NUMBER
18: ) IS
19: CURSOR C IS SELECT rowid FROM QA_PC_PLAN_RELATIONSHIP
20: WHERE plan_relationship_id = X_Plan_Relationship_Id; 21: CURSOR C2 IS SELECT qa_pc_plan_relationship_s.nextval FROM dual; 22:
23: BEGIN
24: if (X_Plan_Relationship_Id is NULL) then
25: OPEN C2;