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

The Difference between 'Count' and 'Count(*)'

Answer Posted / vijay dev saxena

Count(expr) -> returns the number of records in the table
where the expr is not null in the particular column.
Count(*) -> returns the number of all records in the table.
(including duplicates and those with nulls)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I run multiple instances of sql server 2000 at the same time on one computer?

1116


How can I check that whether automatic statistic update is enabled or not?

1091


What are the hotfixes and patches in sql server?

1059


What is difference between rownum and rowid?

954


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

1049


How to connect Azure federated root database and apply federation in entity framework?

109


Define ACID properties in a Database?

1098


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

319


How can you stop stored procedures from recompiling?

946


Is it possible to call a stored procedure within a stored procedure?

1024


How do I shrink an ldf file?

1034


What types of Joins are possible with Sql Server?

1185


What is Replication?

1103


What is the report model project?

151


What can be used instead of trigger?

1205