たとえば 、クエリを使用して同じプロシージャ内のプロシージャ パラメーターにアクセスする方法: この手順を参照してください。
procedure game(left in tab.left%type,right in tab.right%type,...)
is
--some local variables
begin
merge into tgt_table
using subquery --(here is what i need to use the parameters)
on some condition
when matched then
update the tgt table
when not matched then
insert the table;
end game;
上記の手順とマージステートメントでは、パラメーター値をテーブル参照として使用し、それらの値を使用して、指定された条件に基づいてテーブルを更新または挿入するようなクエリが必要です。
お願い助けて。前もって感謝します