What is the datatype returned by count(*)

Answer Posted / harsh

SELECT COUNT(*) as "Number of employees"
FROM employees
WHERE salary > 55000;

It would return the following result set:
Number of employees
5
HENCE IT RETURNS 'INT' TYPE.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by recursive stored procedure?

690


Explain mixed authentication mode of sql server?

717


What encryption security is available in sql azure?

91


What do you understand by check constraint in sql server?

648


Which tools are available to manage SQL Azure databases and servers?

107






How exceptions can be handled in sql server programming?

705


what do you understand by change data capture?

748


How to replace given values with null using nullif()?

724


Difference between connected and disconnected database in .net with sql server?

772


What is the difference function and stored procedure?

720


What does it mean to be in union?

674


Is it true that rules do not apply to data already existing in a database at the time the rule is created?

745


What is the difference between upgrade and migration in sql server?

760


Explain following error properties?

731


What are the five characteristics of good data?

681