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

what is the different types of backups available in sql server? : Sql server database administration

503


what are different types of raid configurations? : Sql server database administration

489


how you can deploy an ssrs report?

127


What is the cpu pressure?

565


Differentiate between truncate vs delete in mssql?

528






What is nested transaction?

538


How to grant a permission in ms sql server using "grant execute" statements?

566


When I run the sql server 2000 setup, it just hangs. What do I do?

654


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

525


How to use old values to define new values in update statements in ms sql server?

684


How do I manually uninstall an instance of sql server 2016?

549


What causes index fragmentation?

580


What are the advantages of using stored procedures in sql server?

512


What is the rdl file?

88


How data can be copied from one table to another table?

513