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...

Do we need cursor for Count(*)?

Answer Posted / yaswanth

we will use cursors when we have situation like the query
returning multiple rows but in this case
select Count(*) from EMP table where EMPNAME='some' will
return only one row, i.e how many rows it found with
EMPNAME='some' eg:3 or 4 or 5 ... so there is no concept of
cursor here

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reorg and runstats in db2?

1147


When reorg is used?

1073


What happens in bind step in a db2 program?

916


What is sqlca’s maximum length?

1104


What is package in cobol db2?

1078


What is buffer pool?

1033


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1050


What is rebind in db2?

1002


What is ibm db2 database?

953


What do you mean by cursor?

942


What is a db2 tablespace?

1002


What is explain in db2?

961


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

1221


How does coalesce work?

962


Where do you specify them?

1167