About 4,700,000 results
Open links in new tab
  1. sql - UPDATE and REPLACE part of a string - Stack Overflow

    Jun 28, 2013 · sql sql-server string sql-server-2008 replace edited Sep 18, 2015 at 21:09 Beth 9,617 1 26 44

  2. sql - replace multiple values at the same time - in order to convert …

    Apr 22, 2014 · I am trying to convert a varchar field to a number, however, there is a set of common characters inside that field that need to be removed in order for me to successfully …

  3. sql server - Replace function in SQL - Stack Overflow

    You can also define a table with all the characters you want to replace and then use a single replace statement while selecting from the table: declare @charToReplace table …

  4. How to replace a string in a SQL Server Table Column

    May 2, 2009 · 414 I have a table (SQL Sever) which references paths (UNC or otherwise), but now the path is going to change. In the path column, I have many records and I need to …

  5. Replace single quotes in SQL Server - Stack Overflow

    However, ordinarily you'd replace ' with '' and this will make SQL Server happy when querying the database. The trick with any of the built-in SQL functions (like replace) is that they too require …

  6. Remove all spaces from a string in SQL Server - Stack Overflow

    May 3, 2012 · What is the best way to remove all spaces from a string in SQL Server 2008? LTRIM(RTRIM(' a b ')) would remove all spaces at the right and left of the string, but I also …

  7. sql - SELECT with a Replace () - Stack Overflow

    Oct 20, 2016 · I have a table of names and addresses, which includes a postcode column. I want to strip the spaces from the postcodes and select any that match a particular pattern. I'm trying …

  8. SQL Replace multiple different characters in string

    Aug 30, 2016 · If you want to replace multiple words or characters from a string with a blank string (i.e. wanted to remove characters), use regexp_replace() instead of multiple replace() clauses.

  9. How do I replace a pattern using T-SQL? - Stack Overflow

    Now I want to do something similar: I want to find any POB that is directly followed by a number (without a space in between) and insert a space. I want to find the pattern like POB[0-9] and …

  10. t sql - Replace a newline in TSQL - Stack Overflow

    Jun 4, 2009 · I would like to replace (or remove) a newline character in a TSQL string. Any ideas? The obvious REPLACE(@string, CHAR(13), '') just won't do it...