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

    The SUBSTRING () function extracts some characters from a string. Required. The string to extract from. Required. The start position. The first position in string is 1. Required. The …

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

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

  3. The SQL Substring Function in 5 Examples | LearnSQL.com

    Mar 22, 2022 · The SUBSTRING() function returns a substring from any string you want. You can write the string explicitly as an argument, like this: SELECT SUBSTRING('This is the first …

  4. SQL SUBSTRING Function

    The SUBSTRING function extracts a substring that starts at a specified position with a given length. Here’s the syntax of the SUBSTRING function: SUBSTRING(string, position, length) …

  5. SQL Server SUBSTRING () Function - GeeksforGeeks

    Jun 17, 2024 · The SQL Server SUBSTRING function extracts a substring from a string, starting at a specified position and with an optional length. The SUBSTRING function also works in …

  6. SQL Server SUBSTRING Function By Practical Examples

    In this tutorial, you will learn how to use the SQL Server SUBSTRING() function to extract a substring from a string.

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

    Apr 27, 2025 · The SUBSTRING function returns part of a string according to a start position and length provided. SQL Server SUBSTRING Syntax SUBSTRING (expression, startPosition, …

  8. SUBSTRING - SQL Tutorial

    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: Where string is the input string value, start is the …

  9. Substring() in SQL Server: How to use Function with Example - Guru99

    Jun 28, 2024 · Substring () extracts a string with a specified length, starting from a given location in an input string. The purpose of Substring () in SQL is to return a specific portion of the …

  10. SUBSTRING, PATINDEX and CHARINDEX string functions in SQL

    Mar 1, 2021 · SUBSTRING function in SQL queries. The SUBSTRING() function extracts the substring from the specified string based on the specified location. Syntax for SUBSTRING() …