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 count(*) from po_vendors(any table)? what does it do
and
what is count(1) from po_vendors(any table)?
what is count(0) from po_vendors(any table)
the out put is same
what is the difference

Answer Posted / sandeep sutar

Result if count(*), count(1), count(0) will be same.

Howevenr,

When we use count(*) then
first oracle query executer gets all the rows in buffure
cache, including all column and then counts all the rows.
this will impact with less performance.


select count(1) or count(0)
This reduces unwanted I/O by selecting just '1' against all
the rows.


Best practice to getting rowcount of table is

select count(rowid) from table_name;

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the prerequisites for costing transactions?

3144


Tell me how to find the custom directory in front end?

1111


List the types of flexfield?

1044


Plz anybody send me Technical specification for AP Interface

2569


Is soa a part of oracle fusion middleware?

1097


What is a flexfield? List out its types.

1178


Can u give the Documentation of Custom.pll in oracle apps

3483


How to move the one file from one instance to another instance? And your scripts also?

1132


tell me the scenarios of the independent in reports

2626


q)what are the validations in sql*loader

2411


Can we create tables in apps schema?

1148


In oracle application how do you debug or trace errors?

1125


do you know is it possible to run the interface without using oracle apps?

1123


how can i print random rows in plsql table

2506


Can you differentiate between mediator and osb?

1151