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 dbrm? When it will be created?

1010


Explain db2.

1015


How will you return the number of records in table?

915


What are the benefits of using the db2 database?

1208


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

1050


What is an instance in db2?

1018


What is the connection string to connect to the DB2 Database ?

1090


Explain dclgen.

1180


What is the difference between dbm cfg and db cfg file in db2 ?

1518


What is cursor with hold option in db2?

1052


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

1221


can all users have the privilage to use the sql statement select * (dml)?

1144


Explain how can you do the explain of a dynamic sql statement?

1104


Explain about rct in db2?

1087


What is node in db2?

1033