Hello,

Does anybody know if there is a Search Replace function in MS SQL2005 to lets say search for the @ charter and replace it with another character or number in the specified columns? If there is please can you give me a sample. I found the replace function but it doesn't seem to search....Thanks any help is appreciated.

UPDATE tablename set columnname = REPLACE(coulmnname,'old','new')
where columnname like '%old%'

Something like this...perhaps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.