About 581,000 results
Open links in new tab
  1. SQL Server SUBSTRING () Function - W3Schools

    Definition and Usage The SUBSTRING () function extracts some characters from a string. Syntax SUBSTRING (string, start, length)

  2. SUBSTRING (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · The SUBSTRING function returns a portion of a specified character, binary, text, or image expression.

  3. SQL SUBSTRING Function

    This tutorial shows you how to use the SQL SUBSTRING function to extract a substring from a string stored in the database.

  4. SQL Server SUBSTRING () Function - GeeksforGeeks

    Jul 15, 2025 · The SUBSTRING () function extracts a substring from a string, starting at a specified position and with an optional length. It can be used with literal strings or columns in a …

  5. SUBSTRING, PATINDEX and CHARINDEX string functions in SQL

    In this article, we will explore SUBSTRING, PATINDEX and CHARINDEX string functions for SQL queries. While working with the string data, we perform various calculations, analytics, search, …

  6. SQL SUBSTRING Code Examples and Usage - SQL Server Tips

    May 10, 2023 · Learn different ways to use the SQL SUBSTRING function along with several different code examples of how this can be used.

  7. SUBSTRING () Function in SQL Server — Syntax and Examples

    Feb 28, 2025 · What is the SQL Server SUBSTRING () function? The SUBSTRING () function in SQL Server is a string-manipulation powerhouse. Whether you’re pulling out specific …