One of my fields has had a collection of line breaks inserted in between
first and second names.  I think I have solved the problem but I now need to
remove all of the line breaks that have been inserted so far.

I could query the db then use CF to replace chr(13) & chr(10) with " ", but
is there a better, faster was to do this in SQL directly, preferably
replacing "\s*\r\n\s*" so that it replaces the line break and any leading or
trailing whitespace replacing it with one single space character.

--
James Smith
IT Director - Music Express


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234983
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to