June 3, 2008 at 6:54 am
Hi All
How do I search for and replace commas?
June 3, 2008 at 7:34 am
Check the REPLACE function in BOL:
REPLACE ( 'string_expression1' , 'string_expression2' , 'string_expression3' )
SELECT REPLACE ( 'text1, text2, text3' , ',' , '-' )
June 4, 2008 at 4:49 am
Mark's suggestion is good... if that's what you actually want to do. If not, could you give an example of what you're trying to do? I just wanna make sure that you don't mean that you need a split function...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2008 at 7:55 am
Yeah, thanks guys. That works perfectly.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply