adspace


Explain uses of cursor.

Answer Posted / shwetha k

A cursor is a pointer to pointing to this memory area and used to retrieve data row by row instead of all row at a time.
select statement fetches only one row.so to overcome this problem cursor is used to hold the set of rows or data in one variable and can do whatever manipulation we want to do.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can delete statement be rollbacked?

1065


how to use regular expression in pattern match conditions? : Sql dba

1125


Is primary key clustered index?

1028


how to escape special characters in sql statements? : Sql dba

1124


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

2102


Can we use distinct and group by together?

1147


How do I remove duplicates in two columns?

1202


What is your daily office routine?

2353


what are aggregate and scalar functions? : Sql dba

1142


Is inner join faster than left join?

1287


what are the advantages of sql ? : Sql dba

1154


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

1156


what are all the common sql function? : Sql dba

1141


What is the current version of postgresql?

1188


how to start mysql server? : Sql dba

1279