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 does the argument [or replace] do?

0 Answers  


if a table is getting updated what happens if a function is called from sql query?

2 Answers   RBS,


what are all the different normalizations? : Sql dba

0 Answers  


What is a sql trace file?

0 Answers  


What is sql and its types?

0 Answers  






Why sql query is slow?

0 Answers  


how to use in conditions? : Sql dba

0 Answers  


what is meant by urlencode and urldocode? : Sql dba

0 Answers  


wht is the difference between sqlaserver2000 and 2005

1 Answers   ABC, IBM,


Temporary table vs Table variable in sql server?

0 Answers   Wipro,


What is the difference between DELETE and TRUNCATE?

15 Answers   Johns Hopkins University, Tech Mahindra,


What is sql deadlock?

0 Answers  


Categories