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.
| Author |
Topic |
|
cwtriguns2002
Constraint Violating Yak Guru
272 Posts |
Posted - 2007-10-08 : 05:19:12
|
| hi again.SSS has a value of 123-456-789my goal is, i want to return a value of 123456789. neglecting -thanksRON________________________________________________________________________________________________"I won't last a day without SQL" |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-10-08 : 05:25:23
|
[code]replace('123-456-789', '-', '')[/code] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-10-08 : 05:27:43
|
SELECT REPLACE(SSN, '-', '')FROM Table1 E 12°55'05.25"N 56°04'39.16" |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-10-08 : 05:27:55
|
 E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|