I make DB of game and I need to make table(vector) of IDs where type='x'. ID is number.
create or replace procedure add_items
is
TYPE ID_TAB IS TABLE OF NUMBER(20);
id_eq_weapon ID_TAB;
begin
select id into id_eq_weapon from EQ where TYPE='weapon'; --ERROR HERE
for [..]
Can somebody help?