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 |
Which data type doesn't allow null data type?
What is primary key sql?
What is an index in sql with example?
How do you get column names only for a table (sql server)?
what are the different functions in sorting an array? : Sql dba
i want count no of values in a column i.e enam eempno phoneno x 1 (98765,09887,096561,87964579,156678,678900876) that means if i select phone no from table i want to get total count of phone numbers i.e 6
What is set serveroutput on?
Explain what is a view?
7. Where would you look for errors from the database design?
How can we make an if statement within a select statement?
Why do we use set serveroutput on?
mail-id table contains two columns(email_id,userid) it contains different types of mail-ids,and no of users. here username length is differ na,(ex- tamil@yahoo.com,joshua@hotmail.com like) now i want to fetch the email-ids only starting from '@' (ex-@gmail.com,@yahoo.com,@hotmail.com
Oracle (3259)
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)