adspace


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

Do we need to rebuild index after truncate?

1151


what is dbms? : Sql dba

1070


Is primary key clustered index?

1026


how to start mysql server? : Sql dba

1279


Can we use distinct and group by together?

1146


what are aggregate and scalar functions? : Sql dba

1142


What is the current version of postgresql?

1188


If a cursor is open, how can we find in a pl/sql block?

1252


how many tables will create when we create table, what are they? : Sql dba

1154


Is inner join faster than left join?

1287


What is your daily office routine?

2351


what is collation? : Sql dba

1242


How do I remove duplicates in two columns?

1202


Is primary key always clustered index?

1101


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2099