What is the difference between the following two sql
statements
select count(*) from <tablename>
select count(col_name) from <tablename>
Answer Posted / kushi
for the First Qry,result is "No.of records"
for the second Qry,result is "No.of records for particular
columnname"
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
How is table type constraint applied to a table?
Can you insert NULL in unique column?
what is a live lock? : Sql server database administration
What is the use of keyword with encryption. Create a store procedure with encryption?
Tell me when is the update_statistics command used?
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
What are types of storage modes? : sql server analysis services, ssas
What are different backups available in sql server?
What is temporal data type?
What is the use of stored procedure?
How to enter date and time literals in ms sql server?
How to delete a login name in ms sql server?
How to verify a login name with sqlcmd tool?
How to grant a permission in ms sql server using "grant execute" statements?