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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 remove dashes from ssn field
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

7 Posts

Posted - 02/01/2008 :  10:23:39  Show Profile  Reply with Quote
i've been trying to wrap my head around how to write a script to remove the dashes from a social security number in an existing table.

i have a table with column ssn. not sure where to start here, any input would be helpful.


Very Important crosS Applying yaK Herder

52326 Posts

Posted - 02/01/2008 :  10:33:07  Show Profile  Reply with Quote
try REPLACE(ssn,'-','')
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000