About 7,450 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

    Jan 9, 2026 · Returns part of a character, binary, text, or image expression in SQL Server. Transact-SQL syntax conventions. Syntax for SQL Server 2022 (16.x) and earlier versions.

  3. SQL SUBSTRING Function Use and Examples - SQL Server Tips

    Apr 27, 2025 · Learn about the SQL Server SUBSTRING functions and the different ways this could be used.

  4. SQL | String functions - GeeksforGeeks

    Dec 1, 2025 · The SUBSTRING () (or SUBSTR ()) function is used to extract a substring from a string, starting from a specified position. It is especially useful when we need to extract a specific part of a …

  5. SUBSTRINGSQL Tutorial

    SUBSTRING The SQL SUBSTRING function is used to extract a portion of a string value from a larger string. The syntax for the function is as follows:

  6. SQL Server SUBSTRING (): A Complete Guide to Extracting Strings

    Feb 3, 2026 · The SUBSTRING() function in SQL Server lets you pull out specific portions of a string. Whether you’re cleaning data, formatting output, or parsing complex text fields, this function is one …

  7. Mastering the SUBSTRING Function in SQL: A Comprehensive Guide

    SUBSTRING is a SQL function that extracts a portion of a string based on a starting position and, optionally, a length. It’s a standardized function (also known as SUBSTR in some databases) that …

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

    In this tutorial, we will go through SQL SUBSTRING () String function, its syntax, and how to use this function to extract a portion of a string, with the help of well detailed examples.

  9. SQL SUBSTRING Function - Tutorial Gateway

    In this article, we will explore the working functionality of the SQL Server SUBSTRING function, starting with syntax and basic variable examples. In the later section, we show how to use it on columns, …

  10. SQL Server: SUBSTRING Function - TechOnTheNet

    This SQL Server tutorial explains how to use the SUBSTRING function in SQL Server (Transact-SQL) with syntax and examples. In SQL Server (Transact-SQL), the SUBSTRING functions allows you to …