how to we delete a row using varray

Answer Posted / dinesh

Type CC is Varray(5) of number;
c CC:=CC(1,2,3,4,5);
Begin
c.trim /* Delete last 5th Element with thier place holder from varray*/
c.trim(3)/*remove last 3 element with thier place holder from varra
c.delete/* delete all the varray.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of inctype option in exp command.

590


Will you be able to store pictures in the database?

633


What is a table index?

559


Explain mutating triggers.

568


Is there an oracle sql query that aggregates multiple rows into one row?

540






In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?

1919


Does oracle charge for java?

584


What is key preserved table?

558


What do you mean by group by clause?

552


can anyody please send me the dump for Oracle 10g certifications for DBA path?

1682


What is the difference between translate and replace?

552


how to clone 9i Database on to 10g Database.

1820


Describe the types of sub query?

547


How to display row numbers with the records?

583


What is a subquery?

609