what is an associative array with example?

Answer Posted / shriram

It is a type of composite data type in pl sql .. The other
two composite types are nested tables and varrays .. example :
TYPE type_name IS TABLE OF NUMBER INDEX BY VARCHAR2(64);
name type_name;

It is also called as index by tables.
Now "name" can be given any values like :

name('raja'):=100;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to move files from one directory to another in pl sql?

642


what is offset-fetch filter in tsql? : Transact sql

534


what is bcp? When does it used? : Sql dba

521


How to select all records from the table?

605


how do you control the max size of a heap table? : Sql dba

535






When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

635


How many commands are in sql?

523


Define join and name different types of joins?

520


What do you know by pl/sql cursors?

566


What program will open a mdb file?

497


What is the mutating table and constraining table?

558


What are the advantages of indexing?

519


What does cursor do in sql?

518


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

2569


what is csv? : Sql dba

575