>>>Is there a function in SQL Server that works like STRTRAN in VFP? I have the following line in VFP that I need to convert to T-SQL:
>>>
>>>
>>>cString = STRTRAN( cString, '&' + 'amp;', '&' )
>>>
>>>
>>>Any suggestions on how to do it? TIA.
>>
>>See REPLACE function in BOL
>>
>>select replace (@cString, '&' + 'amp;', '&' )
>
>Thank you.
Dmitry,
Here are all the TSQL string functions. My usual starting point...
http://msdn.microsoft.com/en-us/library/ms181984(v=sql.105).aspx