plsqlで単純な配列のようなことを行う方法は?例で説明したほうがいいです。
私が持っているものを見てみましょう
PROCEDURE MyProcedure(name varchar2 := '', father varchar2 := '', description varchar2 := '') IS
BEGIN
UPDATE BC_ACTIONTYPEGROUP SET
ColumnName = name,
ColumnFather = father,
ColumnDecription = description
WHERE
ColumnName = name;
IF SQL%ROWCOUNT = 0 THEN
INSERT INTO TableNames (ColumnName, ColumnFather, ColumnDescription)
VALUES (name, description, father);
END IF;
END;
/
MyProcedure('John', '', 'Little John has three brothers');
MyProcedure('George', 'YES', 'George is father of John');
そして私はこのようなものが必要です
MyProcedure(name=>'John', description=>'Little John has three brothers');
MyProcedure(name=>'George', father=>'YES', description=>'George is father of John');
出来ますか?または、手順でこのようなものを使用する最も簡単な方法は何ですか。
私はITの新入生なので、アドバイスをありがとうございます。