What is the difference between the following two sql
statements
select count(*) from <tablename>
select count(col_name) from <tablename>

Answer Posted / karthik

both will be display same record count.

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

521


What is command parameter in ssrs?

120


What is the difference between NOROW and LOCKROW?

2231


Explain what are sparse columns?

562


Explain the usage of floor function in sql server.

498






What is use of attributehierarchyenabled? : sql server analysis services, ssas

603


What is the stuff and how does it differ from the replace function?

525


How to change server name in sql server?

557


What is a mutating table error and how can you get around it?

534


What is the cartesian product of the table?

544


what is a join? : Sql server database administration

539


What is the full form of dql?

505


How to manipulate data from one table to another table ?

541


List the different index configurations possible for a table?

510


Explain transaction server consistency?

518