2010-04-28 8 views

cevap

22

PL/SQL associative array

DECLARE 
    TYPE salary_tab_t IS TABLE OF NUMBER INDEX BY VARCHAR2(30); 
    salary_tab salary_tab_t; 
BEGIN 
    salary_tab('JONES') := 10000; 
    salary_tab('SMITH') := 12000; 
    salary_tab('BROWN') := 11000; 
END; 
+0

oracle 9i ile bu kullanılabilir mi var? – yesraaj

+0

@yesraaj: Evet - bkz. Http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#1059 –