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

What is a record in pl/sql?

0 Answers  


What is magic table?

6 Answers  


When do we create bitmap indexes

2 Answers   CTS,


how to calcuate the second highest salary of he employee

13 Answers   Synechron,


Talk about views

10 Answers   Polaris,






is it mandatory to select all the column in a view then what columns should be selected

2 Answers  


What is the difference between function, procedure and package in pl/sql?

0 Answers  


Can you alter start with clause?

1 Answers   TCS,


What is null in pl/sql?

0 Answers  


what eliminate duplicate without using roenum and not

5 Answers   Matrix,


What is a constraint. Types of constraints ?

5 Answers   Accenture, BirlaSoft,


what are string data types? : Sql dba

0 Answers  


Categories