Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 SQL Question

Author  Topic 

GT890
Starting Member

1 Post

Posted - 2014-10-13 : 16:55:33
If a table has a list of multiple foreclosure codes, and you don’t know how much unique codes are in the table, how could you get a list of unique codes within the table.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-10-13 : 17:01:09
SELECT DISTINCT ForeclosureCode
FROM YourTable

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -