Posts

Showing posts with the label Associative array

Collection and records S.Y.B.Sc. Computer science Advanced database concepts

Image
associative arrays Associative arrays are single-dimensional, unbounded, sparse collections of homogeneous elements.  an associative array is single-dimensional. It means that an associative array has a single column of data in each row, which is similar to a one-dimension array. an associative array is unbounded, meaning that it has a predetermined limits number of elements. an associative array is sparse because its elements are not sequential. In other words, an associative array may have gaps between elements. Finally, an associative array has elements which have the same data type, or we call them homogenous elements. An associative array can be indexed by numbers or characters. Declaring an associative array is a two-step process. First, you declare an associative array type. And then, you declare an associative array variable of that type. Declaring an associative array type  Syntax for declaring an associative array type: TYPE associative_array_type IS TABLE OF da...