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(*)'

Answers were Sorted based on User's Feedback



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

Answer / anand

COUNT(column_name): COUNT THE NUMBER OF ROWS EXCLUDING NULL
VALUES.
COUNT(*):COUNT THE NUMBER OF ROWS INCLUDING NULL VALUES AND
DUPLICATES.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / pradip jain

COUNT(column_name): COUNT THE NUMBER OF ROWS EXCLUDING NULL
VALUES BUT INCLUDING DUPLICATES

COUNT(*):COUNT THE NUMBER OF ROWS INCLUDING NULL VALUES AND
DUPLICATES.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / mahavir bansal

COUNT(Exp): COUNT the no of not NULL Records Including
Duplicates values
COUNT(*):returns the No of Records in the Table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

i have a table student like sname ----- ram ram ram raj raj raj i need the output like sname ----- ram raj ram raj ram raj

9 Answers   IBM,


What is microsoft sql server?

0 Answers  


How do you create a clustered index?

0 Answers  


What are the grouping functions?

0 Answers  


What are types of scd? : sql server analysis services, ssas

0 Answers  


What is difference between inner join and full join?

0 Answers  


I hav 10 records only one column 1,2,3,4,5......10 now am writing query select max(column name) Then What is The Output

9 Answers   Brigade, Wipro,


how to give input dynamically to a insert statement in sqlserver

3 Answers   HCL,


What are the restrictions applicable while creating views? : SQL Server Architecture

0 Answers  


What does set rowcount do?

0 Answers  


What is an extended stored procedure? Can you instantiate a COM object by using T-SQL?

1 Answers  


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

0 Answers  


Categories