ORACLE的index by是啥意思

type num_array_vc is table of number index by varchar2(100)
问题1:以前一般都是写的table of record表示一个记录类型的表,现在这个是创建了一个number类型的表?
问题2:index by varchar2(100)是啥意思呢
谢谢各位老铁解答!

http://blog.csdn.net/yunhaiwuya/article/details/22889511

好像是关联数组的意思吧
declare
type t is table of number(3) index by varchar2(3);
hash_t t;

l_row varchar2(3);
begin
hash_t('a') := 10;
hash_t('b') := 20;

l_row :=hash_t.first;
while(l_row is not null) loop
dbms_output.put_line(hash_t(l_row));
l_row:=hash_t.next(l_row);
end loop;
end;