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
 Analysis Server and Reporting Services (2012)
 Include soc sec numbers with dashes

Author  Topic 

choochoowinn
Starting Member

1 Post

Posted - 2014-02-05 : 15:03:01
How would I write my where clause to only pull in pts that have social security numbers with dashes (-)?

Thank You!

Trang T Nguyen

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-02-05 : 15:29:59
where ssn like '%-%'

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

- Advertisement -