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 are the advantages of the packages

6 Answers   Oracle,


What are different clauses used in sql?

0 Answers  


Types of locks in database ?

8 Answers   HCL, TCS, Tieto,


From an Employee table, how will you display the record which has a maximum salary?

29 Answers   Cap Gemini, Exilant, Synechron,


What is schema in sql?

0 Answers  






What is cascade in sql?

0 Answers  


what is sub-query? : Transact sql

0 Answers  


What is mutating table error?

0 Answers  


What is a database? Explain

0 Answers  


What is embedded sql what are its advantages?

0 Answers  


what does it mean to have quoted_identifier on? : Sql dba

0 Answers  


What is sql and how does it work?

0 Answers  


Categories