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

What is hibernate and its relation to sql?

0 Answers  


Do foreign keys improve performance?

0 Answers  


what is ref cursor in pl/sql?

3 Answers  


What is null in pl/sql?

0 Answers  


what is SCALAR Queries?

2 Answers   ITC Infotech,






How many triggers can be applied to a table?

0 Answers  


How to get the 3rd column(i.e all the data along with the column name)in a table?

2 Answers   Logica CMG,


Can we perform dml on view?

0 Answers  


What does select top 1 do in sql?

0 Answers  


Name Salary Abc 50000 Abc 50000 xyz 20000 find the max salary using aggregate function?

2 Answers   CTS,


how to run 'mysql' commands from a batch file? : Sql dba

0 Answers  


How does one load ebcdic data? : aql loader

0 Answers  


Categories