Procedure GetDetails( ID as Varchar2,
Cursor1 OUT Cursor_Type,
Cursor1 OUT Cursor_Type ) AS
BEGIN
OPEN CURSOR1 FOR
Select Name from User where UserID=ID;
OPEN CURSOR2 FOR
Select Place from Dept where DeptID=ID;
END GetDetails;
如何使用 2 个光标的名称和位置值?