我有一个如下程序:
SET serveroutput ON
DECLARE
TYPE list_of_names_t
IS TABLE OF emp.emp_index%TYPE;
ignoreIndexes LIST_OF_NAMES_T := List_of_names_t();
BEGIN
-- Logic here which fills the values in the collection ignoreIndexes and considerIndexes
-- Line XX
END;
在第 XX 行,我想添加以下行
SELECT * FROM emp WHERE emp_index NOT IN ignoreIndexes
但无法获得正确的语法,如何做到这一点?