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

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

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

  4. SQL Server TRIM character - Stack Overflow

    Oct 20, 2011 · 27 Another pretty good way to implement Oracle's TRIM char FROM string in MS SQL Server is the following: First, you need to identify a char that will never be used in your string, for …

  5. How to remove white space characters from a string in SQL Server

    Jan 8, 2013 · I'm trying to remove white spaces from a string in SQL but LTRIM and RTRIM functions don't seem to work? Column: [ProductAlternateKey] [nvarchar](25) COLLATE …

  6. Removing leading zeroes from a field in a SQL statement

    Sep 18, 2008 · 112 I am working on a SQL query that reads from a SQLServer database to produce an extract file. One of the requirements to remove the leading zeroes from a particular field, which is a …

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

  8. Remove the last character in a string in T-SQL? - Stack Overflow

    How do I remove the last character in a string in T-SQL? For example: 'TEST STRING' to return: 'TEST STRIN'

  9. Best approach to remove time part of datetime in SQL Server

    Jul 24, 2009 · 612 Which method provides the best performance when removing the time portion from a datetime field in SQL Server?

  10. How can I remove leading and trailing quotes in SQL Server?

    I have a table in a SQL Server database with an NTEXT column. This column may contain data that is enclosed with double quotes. When I query for this column, I want to remove these leading and …