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

Answer Posted / t.lakshmi

count - It returns the non null values
count(*) - It returns the null values and duplicate values

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Capacity planning to create a database? and how to monitor it?

3972


How to provide values to user defined function parameters?

785


What are the filtered indexes?

796


How can we rewrite sub-queries into simple select statements or with joins?

734


What are the different editions available in sql server 2000?

790


How to execute function in stored procedure sql server?

785


What is self contained multi valued query?

768


What is the sql server 2000 version number?

789


Explain how would you store your query in an SSRS report or a Database server?

104


What is the architecture of ms sql reporting service?

728


What is nolock?

764


What is difference between order by and group by?

786


Which is the latest version of sql server and when it is released?

774


How can we solve concurrency problems?

801


What is table valued function and scalar valued functions?

729