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)
 How do I remove special charact in the result set?

Author  Topic 

on9west
Starting Member

2 Posts

Posted - 2008-09-11 : 00:02:25
Dear all

Is is possible to remove special charact in the result set? I am using SYBASE data server

For example
select column_1 from table

output
4.2.1.E

I want to remove the .(dot) in the result set. (i.e. 421E)

Thank you for your help in advance

hey001us
Posting Yak Master

185 Posts

Posted - 2008-09-11 : 00:07:19
SELECT REPLACE(column_1,'.','') column_1 FROM yourtable

hey
Go to Top of Page
   

- Advertisement -