I want to understand how do you call a stored procedure in another stored procedure in Oracle.
For example: In SQL Server stored procedure,
CREATE PROCEDURE P2
.
.
.
DECLARE v_Id INT
EXEC P1 v_Name, v_Id OUTPUT
Both v_Name
and v_Id
is available in procedure P1.
How do you call the same in Oracle