I create this type to be used in several procedures.
In fact I'm making a pl/sql script to clean tables.
As I want it to be 'universal' the script needs to delete records using their rowid.
It means that ,in the main script, I perform a select that returns the needed rowids. I store them in a table of rowids. I need to pass it to the Purge script.
CREATE OR REPLACE PROCEDURE purger_enfant(
name_tab IN VARCHAR2,
rowid_tab IN ROWID_TABLE