About 169,000 results
Open links in new tab
  1. 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.

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

    Jul 4, 2015 · By passing in a blank string (FOR XML PATH ('')), we get the following instead: The STUFF statement literally "stuffs” one string into another, replacing characters within the first …

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

  4. SQL STUFF Function Use and Examples

    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. How Stuff and 'For Xml Path' work in SQL Server?

    Jul 23, 2025 · In SQL Server, the combined use of the STUFF function and the FOR XML PATH clause is a one of the best combination for string manipulation and XML generation. Together, …

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

  8. SQL STUFF () String Function - Syntax, Examples [4]

    The SQL STUFF() function deletes a specified number of characters from a string and replaces them with another substring at a specified starting position. The STUFF () function is useful for …

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

    At its most rudimentary level, the STUFF () function operates by excising a segment from a string and reinserting a replacement at a specified point. Think of it as a literary editor with scalpel …

  10. SQL STUFF function overview

    Jul 31, 2019 · This article gives an overview of the SQL STUFF function with various examples. Developers deal with various data types and require converting the data as per the application …