What does Count function return?

 Posted by Rajesh_Kumar on 1/20/2014 | Category: Sql Server Interview questions | Views: 1680 | Points: 40
Answer:

Count function returns integer value meaning it returns no of records if present otherwise return 0.
In other words,we can say,Count function is the simplest function and very useful in counting the number of records,which are expected to be returned by a SELECT statement.
It always returns an int data type value.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response