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
You want to check the syntax of a complicated update sql statement without executing it. What command should you use?
What happens when unicode strings concatenate with non-unicode strings?
How to check parameter value in stored procedure sql server?
How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?
Explain sql server service broker?
What are information schema views?
What are truncate options available in sql server? : sql server database administration
Does full backup break log chain?
Why do we use trigger?
what is an extended stored procedure? : Sql server database administration
Do you know what is user defined datatypes and when you should go for them?
What is the user of Primary key?
What are the advantages dts has over bcp?
How you can find out if an index is useful to the optimizer?
What is meant by indexing?