How to get the count of distinct records. Please give me the
query?
Answer Posted / anusha
SELECT COUNT(*)FROM(SELECT DISTINCT columnname FROM
tblname)
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
How can I track the changes or identify the latest insert-update-delete from a table?
How to view existing indexes on an given table using sys.indexes?
Explain an automatic checkpoint
Why do we partition data?
Differentiate between ms sql server reporting services vs crystal reports?
Why are you getting errors when creating a new odbc dsn?
Tell me extended events in sql server 2008?
What is sql server used for?
What is SQL Azure Fabric?
Explain about analysis services?
what is a self join? : Sql server database administration
Define tool Manage Statistics in SQL Server 2000 query ?
You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?
How do I find information about the install locations for the various instances running on a computer?
How to automatically create a log when an exception is being received into SQL Server?