Oracle Apex - 从集合中删除成员
Oracle Apex - Delete member from collection
是否可以从顶点集合中删除 C003 = 31
DELETE_MEMBERS 程序就是您要找的。要了解更多信息,请查看官方 Oracle documentation.
您可以这样做:
APEX_COLLECTION.DELETE_MEMBERS
(
p_collection_name => 'collection_name',
p_attr_number => 3,
p_attr_value => '31'
);
或者使用序列号。
DECLARE
CURSOR c_temp IS
SELECT
seq_id
FROM APEX_COLLECTIONS
WHERE collection_name = 'collection_name'
AND c003 = '31';
BEGIN
FOR r_temp IN c_temp LOOP
apex_collection.delete_member
(
p_collection_name => 'collection_name',
p_seq => r_temp.seq_id
);
END LOOP;
END;
是否可以从顶点集合中删除 C003 = 31
DELETE_MEMBERS 程序就是您要找的。要了解更多信息,请查看官方 Oracle documentation.
您可以这样做:
APEX_COLLECTION.DELETE_MEMBERS
(
p_collection_name => 'collection_name',
p_attr_number => 3,
p_attr_value => '31'
);
或者使用序列号。
DECLARE
CURSOR c_temp IS
SELECT
seq_id
FROM APEX_COLLECTIONS
WHERE collection_name = 'collection_name'
AND c003 = '31';
BEGIN
FOR r_temp IN c_temp LOOP
apex_collection.delete_member
(
p_collection_name => 'collection_name',
p_seq => r_temp.seq_id
);
END LOOP;
END;