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...



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

Answer / 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

More SQL PLSQL Interview Questions

Where do we use pl sql?

0 Answers  


What are hotfixes and patches?

0 Answers  


what is a constraint? Tell me about its various levels. : Sql dba

0 Answers  


describe transaction-safe table types in mysql : sql dba

0 Answers  


What is dbo in sql?

0 Answers  






Can we interchange parameters in procedure while calling

1 Answers   TCS,


What is difference between Procedures and Functions ?

6 Answers   Hi Caliber IT,


What is mdf ldf and ndf?

0 Answers  


how to drop an existing table in mysql? : Sql dba

0 Answers  


What are pl/sql cursors?

0 Answers  


How do you declare a constant?

0 Answers  


Can you selectively load only those records that you need? : aql loader

0 Answers  


Categories