Main diff between varray and nested tablea

Answers were Sorted based on User's Feedback



Main diff between varray and nested tablea..

Answer / srinivas

We should give the maximum size when we declare the varry, and if u perform delete then it removes the values from the end, use this varray when u know the size


we no need to give the size when we declare the nested tables,we can remove the values any where from the nested table,use this when u don't know the size.

Is This Answer Correct ?    4 Yes 0 No

Main diff between varray and nested tablea..

Answer / dandu devendra

Varray: constrain table.Basically this table dense by default indexs start with 1.
Nested table: unconstrain table.

Is This Answer Correct ?    3 Yes 2 No

Main diff between varray and nested tablea..

Answer / prabu t

Varray -
Can be stored in the database.
Bounded (maximum length should be given).
Delete / Remove values only from the end.

Nested Tables -
Cannot be strored in the database.
Unbounded (No maximum length).
Delete / Remove values anywhere in the table.

Is This Answer Correct ?    7 Yes 8 No

Post New Answer

More SQL PLSQL Interview Questions

How to select random rows from a table?

0 Answers  


What does plvtab enables you to do when you showthe contents of pl/sql tables?

0 Answers  


What is raw datatype in sql?

0 Answers  


What is record type in pl sql?

0 Answers  


package specification-3 procedures package body-4 procedures how can i write for other procedure in package body

2 Answers   Reliance,






can i use global variables in stored procedure or function

1 Answers   L&T,


what is mean by forward declaration and where we'll use it.

4 Answers   TCS,


display your age in months?

2 Answers  


What is foreign key in sql with example?

0 Answers  


What are the popular database management systems in the it industry?

0 Answers  


what are the advantages and disadvantages of cascading style sheets? : Sql dba

0 Answers  


What is the usage of nvl function?

0 Answers  


Categories