About 10,300 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 …

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

    Jan 24, 2019 · TRIM is in SQL Server (starting with 2017) so, none of these: --SQL Server 2016 SQL Server 13 SQL Server 13.0 13.0.1601.5 --SQL Server 2014 SQL Server 12 SQL Server …

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

    I have trailing spaces in a column in a SQL Server table called Company Name. All data in this column has trailing spaces. I want to remove all those, and I want to have the data without any …

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

  5. What is the command to truncate a SQL Server log file?

    Sep 2, 2008 · I need to empty an LDF file before sending to a colleague. How do I force SQL Server to truncate the log?

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

    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 …

  7. sql - How do I remove the first characters of a specific column in a ...

    That said, the OP indicated that they wanted to trim the first 4 characters of a specific column - I would assume unless provided with greater detail that ALL rows need to be trimmed.

  8. Truncate (not round) decimal places in SQL Server

    I'm trying to determine the best way to truncate or drop extra decimal places in SQL without rounding. For example: declare @value decimal(18,2) set @value = 123.456 This will …

  9. trim left characters in sql server? - Stack Overflow

    Jan 11, 2011 · I want to write a sql statement to trim a string 'Hello' from the string "Hello World'. Please suggest.

  10. sql server - Removing leading zeroes from a field in a SQL …

    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 …