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 difference between select statement and cursor

Answer Posted / bolearner

The above answer is not so correct.

cursor can fetch rowid, rownum also from table.

The select into cant retrieve more than 1 record in plsql.

But cursor can retrieve more records that can be viewed for modified later in plsql.

Cursors has attributes like open,close,fetch,notfound. Those attributes not applicable in select..into clause.

finally select..into in plsql, just select column values and storing into plsql variable.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic query?

969


What are commit, rollback, and savepoint?

988


What company owns postgresql?

1026


Can you sum a count in sql?

1003


What is primary key secondary key alternate key candidate key?

1033


Which is faster joins or subqueries?

986


how to include comments in sql statements? : Sql dba

953


Is left join faster than inner join?

1120


Define commit?

992


how to fetch alternate records from a table? : Sql dba

1107


How to add, remove, modify users using sql?

1032


What does select top 1 do in sql?

1088


Can we use join in subquery?

1090


What is primary key in db?

1005


what are the advantages of using stored procedures? : Sql dba

1104