About 67,000 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. 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 …

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

    Dec 30, 2016 · I know there are LTrim & Rtrim in sql to remove the leading trailing spaces form left & right respectively. I want to remove the spaces from left & right in all the usernames that I am …

  6. Remove Trailing Spaces and Update in Columns in SQL Server

    23 SQL Server does not support for Trim () function. But you can use LTRIM () to remove leading spaces and RTRIM () to remove trailing spaces. can use it as LTRIM (RTRIM (ColumnName)) to …

  7. 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 …

  8. 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" …

  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. Fastest way to remove non-numeric characters from a VARCHAR in …

    I wrote a function to remove these things, the problem is that it is slow and with thousands of records in my DB and thousands of records to import at once, this process can be unacceptably slow. I've …