Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a cursor for loop ?

Answers were Sorted based on User's Feedback



What is a cursor for loop ?..

Answer / anil kumar jampana

cursor for loop is also a cursor. Here no need to handle
open,fetch,close operations. These operations are handled
by for loop.

Is This Answer Correct ?    8 Yes 0 No

What is a cursor for loop ?..

Answer / dipti

Another nice feature of the CURSOR FOR is the ability to
define the cursor inline. Below is a cursor that is not
declared in the declaration section of the executing
block. The cursor definition is included in the CURSOR FOR.
SQL> begin
2 for r_c11 in
(select author_last_name l_name,
3 author_first_name f_name
4 from author) loop
5 dbms_output.put_line(initcap(
6 r_c11.l_name||
', '||r_c11.f_name));
7 end loop;
8 end;
9

Is This Answer Correct ?    4 Yes 1 No

What is a cursor for loop ?..

Answer / nishi

cursor for loop is also a cursor. Here no need to handle open, fetch, close operations. These operations are handled by for loop.

Is This Answer Correct ?    0 Yes 0 No

What is a cursor for loop ?..

Answer / suresh somayajula

Cursor for loop implicitly declares %rowtype as Loop index
opens the cursor and fetch the rows from active set into
fields and then process it and then close the cursor.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

What can I use instead of union in sql?

0 Answers  


What are the 3 modes of parameter?

0 Answers  


How many sectors are in a partition?

0 Answers  


Does pdo prevent sql injection?

0 Answers  


explain advantages of innodb over myisam. : Sql dba

0 Answers  


Does indexing improve query performance?

1 Answers  


Could you please provide oca (oracle 10g) dumps for my certification ?

1 Answers  


How can I pass the inner procedure value to outer procedure ?

2 Answers  


how to check server status with 'mysqladmin'? : Sql dba

0 Answers  


How do I save a sql query?

0 Answers  


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

0 Answers  


What are the disadvantages of file system?

0 Answers  


Categories