type type_name is table of varchar2(30) index by
binary_integer
for the above type you have to create a identifier...

like

identifier_name type_name;

for the above type you can use the below methods..like
first , last , prior, next , delege..etc...like this..

if you create a cursor...like

cursor cursor_name is select * from scott.emp;
is there any methods like above to use prior, fist , last ,
next , trim ,etc...

Answer Posted / sagar

Hi,

When you are using this:

cursor cursor_name is select * from scott.emp;

you can use
record_name cursor_name%rectype;

But I think the methods you mentioned like prior, fist ,
last ,
next , trim ,etc...are not present here..(Iam not sure)

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you load microsoft excel data into oracle? : aql loader

613


What is acid property in a database?

582


Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com

2068


What are the key differences between SQL and PL SQL?

624


What is difference between stored procedures and application procedures?

567






How many types of index are there?

551


How do we use distinct statement? What is its use?

551


What is the primary use of normalization?

524


What is audit logout in sql profiler?

585


How does sql developer connect to oracle database?

518


write an sql query to find names of employee start with 'a'? : Sql dba

575


Which sorts rows in sql?

585


How to revise and re-run the last sql command?

646


Is primary key a clustered index?

533


Can we use the cursor's to create the collection in PL/SQL?

516