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

Is sql harder than python?

729


What is sql dialect?

619


Why schema is used in sql?

625


What is the difference between left join and right join?

581


how to decrement dates by 1 in mysql? : Sql dba

676






What are %type and %rowtype for?

719


Explain the difference in execution of triggers and stored procedures?

661


What is $$ in sql?

643


what is 'mysqlcheck'? : Sql dba

655


differentiate between float and double. : Sql dba

642


What company owns postgresql?

648


What are the different types of tables in sql?

571


What is dba in sql? : SQL DBA

632


What are different joins used in sql?

631


What does rownum mean in sql?

638