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 2005 Forums
 Transact-SQL (2005)
 remove dashes from ssn field

Author  Topic 

coleman8er
Starting Member

7 Posts

Posted - 2008-02-01 : 10:23:39
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.

cheers,
andrew

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-01 : 10:33:07
try REPLACE(ssn,'-','')
Go to Top of Page
   

- Advertisement -