Main diff between varray and nested tablea
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is trigger types in sql?
How to call the function and Procedure in trigger?
How many database objects (trigger, packages, sequence etc) uses a particular field in a given table. For ex: I want to know how many database object uses the ATTRIBUTE1 in the PO_VENDORS table. What query will give me the result showing the database object name(package, trigger etc), field_name used (in this case ATTRIBUTE1) and table_name (in this case PO_VENDORS).
What is trigger types of trigger?
Can cursors be part of a trigger body?
what are the tunnig tables you used for tuning a query and tell me some of coloumns in that tuning tables?
what are the different index configurations a table can have? : Sql dba
use of IN/ANY/ALL
What are hotfixes and patches?
How do I create a sql script?
what is the use of friend function? : Sql dba
How many sql databases can you have on one server?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)