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

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

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

  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 · Another option altogether is to detach the database via Management Studio. Then simply delete the log file, or rename it and delete later. Back in Management Studio attach the …

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

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

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

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

  10. 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?