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 2000 Forums
 SQL Server Development (2000)
 sql server syntax needed

Author  Topic 

disha
Starting Member

34 Posts

Posted - 2008-01-17 : 23:49:49
i have a column called emailid in my database

there are faulty email- id's also like eg

disha@@yahoo.com here " @@ repeats twice .
so i want to correct this

i want only one @ is this possible using case when then or anything else

pLz help

regds,
Disha

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2008-01-18 : 00:16:55
replace(email, '@@', '@')


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -