I’ve come across both terms, but they sound synonymous. Is there a distinction between the two?
I’ve come across both terms, but they sound synonymous. Is there a distinction between
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An “index-by table” is Oracle’s term for “associative array”. These are arrays that contain elements that you can address (or index by) either an integer or string. They’re probably called that because of the use of the INDEX BY keywords when defining the array.
An abbreviation of the example given in the Oracle documentation:
You can create index-by tables containing records, where records are essentially a structure containing multiple types. A record, for example, often contains the same types as a row in a table.
Again, from the Oracle documentation:
Here, emp_tab is an index-by table, indexed by integers, containing records of employees%ROWTYPE.