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

What are the ansi data types supported in oracle?

512


Why packages are used in oracle?

532


How to assign values to variables?

572


What are the logical operations?

670


What is Undo Management Advisor in Oracle?

602






how can db_files > maxdatafiles since db_files is for instance and the later is for database

2168


What is raw datatype in oracle?

573


What is not equal to in oracle?

518


Explain alias?

698


how to join query for one source type is oracle another source type is sql server ?

1979


How many types of cluster table in Oracle?

570


Why should I use oracle database?

564


What is a tns file?

494


1) Does oracle have any table which contain all the exceptions and it's code internally?

1274


How do I reset a sequence in oracle?

580