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

Name the tables where characteristics of Package, procedure and functions are stored ?

3 Answers  


what is the different between now() and current_date()? : Sql dba

0 Answers  


Can we group by two columns in sql?

0 Answers  


How many row comparison operators are used while working with a subquery?

0 Answers  


Define implicit and explicit cursors.

0 Answers  


What is sql resultset?

0 Answers  


If the base table structure is changed what will happen to join index????

2 Answers  


What is example of database?

0 Answers  


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

0 Answers  


How delete all records from table in sql?

0 Answers  


Why do we need sharding?

0 Answers  


Explain what is a subquery ?

0 Answers  


Categories