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 the difference between normal select query and
currosor

Answer Posted / jagan

using select in embedded sql with where clause should fetch
only one row , but cursor can be used when we need more rows
to be retrieved one at a time.

In case more than one row is retrieved in a select clause it
will throw -811 sql error.

Is This Answer Correct ?    28 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to view db2 table structure?

959


Explain package in db2 and its advantages?

1133


What is the maximum size of a char data type in db2?

963


How will you return the number of records in table?

879


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1032


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1002


Which are the db2 tools to protect integrity of the database?

1070


Can one database have multiple instances?

1004


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

3090


Describe major components of db2?

1039


Is db2 free?

1035


How to retrieve rows from a db2 table in embedded sql?

1323


What are the various isolation levels possible?

1047


What is runstats utility in db2?

961


Which is faster delete or truncate?

1068