what are pl/sql collections?

Answers were Sorted based on User's Feedback



what are pl/sql collections?..

Answer / pradeep

A collection is an ordered group of elements, all of the
same type. It is a general concept that encompasses lists,
arrays, and other familiar datatypes. Each element has a
unique subscript that determines its position in the collection.

PL/SQL offers these collection types:

* Index-by tables,
* Nested tables
* Varrays

Is This Answer Correct ?    50 Yes 2 No

what are pl/sql collections?..

Answer / hannan oca

collection of similar datatypes or group of same datatypes
are called collections.Basically they are 3 types
1.Index-by tables,
2.Nested tables
3.Varrays
collection of different datatypes are known as Records.

Is This Answer Correct ?    15 Yes 1 No

what are pl/sql collections?..

Answer / praveenkumar

collection is set of ordered group of elements, all of the
same type.

Is This Answer Correct ?    15 Yes 2 No

what are pl/sql collections?..

Answer / debanjan rudra

pl/sql collections are temporary table types which helps
the programmer to "temporary" manipulate data comprising
more than 1 row (i.e. not scalar).

Eg. CREATE OR REPLACE TAB AS TABLE OF VARCHAR2(100) INDEX
BY PLS_INTEGER;

In the above example "TAB" is a collection which shall be
used to temporarily store more than 1 varchar2 records.

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

i have a table like this. i want to output like this c1 c2 c1 c2 1 10 1 10 2 20 2 30 3 30 3 60 4 40 4 100 5 5 5 105 c1 and c2 are columns in a table .i want output like this c2 values are 10,10+20,10+20+30,10+20+30+40.10+20+30+40+5. write a sql query.pls help this i want urgent.

2 Answers   IBM, Loginworks, OFSS,


what is the different between unique+not null & primary key,

4 Answers  


how to calcuate the second highest salary of he employee

13 Answers   Synechron,


What is the left table in sql?

0 Answers  


Which join is default?

0 Answers  






What is union, minus and interact commands?

0 Answers  


<<labele>> declare a=10 b=20, begin some statements declare a=30 c=40 end; what is the A value in nested block?

1 Answers   ITC Infotech,


while loading data into database how can u skip header and footer records in sql*loader

1 Answers   Oracle,


how to create a test table in your mysql server? : Sql dba

0 Answers  


How can you load multi line records? : aql loader

0 Answers  


what is the use of double ampersand (&&) in sql queries?

0 Answers  


Is sql a dbms?

0 Answers  


Categories