About 68,100 results
Open links in new tab
  1. How to trim a string in SQL Server before 2017? - Stack Overflow

    Oct 8, 2008 · in sql server 2008 r2 with ssis expression we have the trim function . SQL Server Integration Services (SSIS) is a component of the Microsoft SQL Server database software that can …

  2. TRIM is not a recognized built-in function name - Stack Overflow

    Jan 24, 2019 · 129 TRIM is introduced in SQL Server (starting with 2017). In older version of SQL Server to perform trim you have to use LTRIM and RTRIM like following.

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

    May 3, 2012 · 330 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 need to …

  4. Trimming text strings in SQL Server 2008 - Stack Overflow

    Aug 15, 2010 · SQL Server does not have a TRIM function, but rather it has two. One each for specifically trimming spaces from the "front" of a string () and one for trimming spaces from the "end" …

  5. sql server 2012 - How to trim the values passing the in clause of the ...

    Dec 30, 2016 · The function will left and right trim spaces of value in DB. So the value to compare must not contains the spaces. I think it's very obvious.

  6. TRIM function on SQL Server 2014 - Stack Overflow

    Feb 22, 2015 · IN SQLite I wrote : UPDATE MYTABLE SET MYFIELD = TRIM(MYFIELD); What to do to have this on SQL Server 2014 ?

  7. sql - Trim spaces in string - LTRIM RTRIM not working - Stack Overflow

    If that happens, SQL built in functions for trimming whitespaces do not work so it becomes necessary to replace the “other” whitespace characters with character 32. Then LTRIM and RTRIM will work as …

  8. sql - Difference between LTRIM and LTRIM with RTRIM - Stack Overflow

    Nov 4, 2020 · Of course, you could trim both with TRIM in more recent versions of SQL Server (2017+), however, any trim operations will make your query non-SARGable, which could (significantly) effect …

  9. sql - using trim in a select statement - Stack Overflow

    Jan 1, 2011 · SELECT TRIM(myfield) FROM mytable; will work. Make sure also that you are not confusing the way the SQL interpreter adds padding chars to format the data as a table with the …

  10. sql - Use TRIM in JOIN - Stack Overflow

    The point to think about here is to remove those spaces from this column The use of TRIM, considering you are using SQL Server In SQL Server you can use LTRIM (for left trim, remove left spaces) …