About 10,700 results
Open links in new tab
  1. STUFF (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · The STUFF function inserts a string into another string. It deletes a specified length of characters in the first string at the start position and then inserts the second string into the first string …

  2. SQL Server STUFF () Function - W3Schools

    The STUFF () function deletes a part of a string and then inserts another part into the string, starting at a specified position. Tip: Also look at the REPLACE () function.

  3. How Stuff and 'For Xml Path' work in SQL Server?

    Jul 4, 2015 · The STUFF statement literally "stuffs” one string into another, replacing characters within the first string. We, however, are using it simply to remove the first character of the resultant list of …

  4. SQL STUFF Function Use and Examples - SQL Server Tips

    Apr 27, 2025 · Learn how to use the SQL Server STUFF function along with several examples.

  5. SQL Server STUFF Function By Practical Examples

    This tutorial shows you how to use the SQL Server STUFF () function to delete a part of a string and then insert a substring into the string.

  6. SQL Server: STUFF Function - TechOnTheNet

    SQL Server: STUFF Function This SQL Server tutorial explains how to use the STUFF function in SQL Server (Transact-SQL) with syntax and examples.

  7. STUFF () in SQL: Examples, Use Cases & Error Handling

    Discover how to use the STUFF () function in SQL with examples, common use cases, and error handling tips to optimize your queries.

  8. Mastering the SQL Server STUFF () Function: A Complete Guide

    The STUFF () function, while modest in surface appearance, is undeniably one of the most profound tools in the SQL Server arsenal. When merged with XML PATH, it becomes a conduit through which …

  9. Working with the SQL STUFF Function in SQL Server

    Oct 16, 2025 · Manipulating strings in SQL Server often involves cleaning data or formatting results. The STUFF function offers a simple yet flexible way to do that — by removing characters and inserting a …

  10. SQL Server | STUFF() Function - GeeksforGeeks

    Aug 20, 2024 · The STUFF() function in SQL Server is used to delete a specified length of characters from a string and then insert another set of characters at a specified starting position.