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 primary key called that is made up of more than one field?

1 Answers  


What is integrity in sql?

1 Answers  


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

1 Answers  


What is query execution plan in sql?

1 Answers  


Can you create a table with Primary Key not as the clustered index.

2 Answers   CGI,


how to calculate expressions with sql statements? : Sql dba

1 Answers  


Is like operator in sql case sensitive?

1 Answers  


What is rank dense_rank and partition in sql?

1 Answers  


how to get help information from the server? : Sql dba

1 Answers  


What does a pl/sql package consist of?

1 Answers  


What is oracle pl sql developer?

1 Answers  


how to include character strings in sql statements? : Sql dba

1 Answers  


Categories