The SharePoint Knowledge Collection of Cornelius J. van Dyk, an 9 x SharePoint MVP
15 June 2015
How do I - Select data from a table using TSQL while not returning any duplicates?
When working with large lists of data that are not guaranteed to be unique, you often have to filter out duplicate values. To do this in SQL Server using TSQL, you can leverage the GROUP BY/HAVING combination of statements thus:
Enjoy
C
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.