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 / sachin rathi

Count(column name or exp) returns the no. of records for a
specific/particular column of table excluding null values
whereas Count(*) returns all the rows/records in the table
including duplicated and null values

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a live lock? : Sql server database administration

960


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

1024


What is the use of keyword with encryption. Create a store procedure with encryption?

960


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

1046


Why I am getting this error when dropping a database in ms sql server?

1078


How do I find the sql server instance name?

970


Why we use trigger in sql server with example?

965


How many tables can be joined in SQL Server?

1067


How to delete exactly duplicate records from a table?

1063


Mention what are the different types of ssrs reports?

152


What do you understand by a view?

1000


How can you control the amount of free space in your index pages?

1057


What are the main differences between #temp tables and @table variables and which one is preferred?

1083


In how many ways you can invoke ssrs reports?

139


Can binary strings be converted into numeric or float data types?

1040