initializing associative array in package specification
ManjitAug 2 2007 — edited Aug 2 2007Can some one tell me a way to initialzie an associate array in package specification.
See below to what I am doing at present,but I believe is not clean because the value never changes and is used all over by package.
Help.
------------
function notify_feed_file(p_event_file_seq IN event_file.EVENT_FILE_SEQ%type) return error_message.error_code%type
is
Type list_of_events_t is table of event.event_code%type index by binary_integer;
list_of_events list_of_events_t;
BEGIN
list_of_events(1) := 'A01';
list_of_events(2) := 'A03';
list_of_events(3) := 'A05';
.
--------