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

    The LEFT() function extracts a number of characters from a string (starting from left). Syntax

  2. SQL LEFT Function - SQL Tutorial

    The LEFT() function returns a string that contains a specified number of characters from the left of the input string. The LEFT() function returns NULL if the input string or the number_of_characters is NULL. Basic SQL LEFT function example # The following statement uses the LEFT function to return the first three characters from the left of a ...

  3. SQL Server LEFT() Function - SQL Server Tutorial

    The LEFT() function returns a substring consisting of the specified number of characters from the left side of the input string. The LEFT() function will return NULL if either of the arguments is NULL. SQL Server LEFT() function examples. Let’s take some examples of using the LEFT() function to understand it better.

  4. SQL LEFT Function Use and Examples - MSSQLTips.com - SQL

    Nov 4, 2021 · The LEFT function is used to provide the left part of a string according to a specified number of characters. Syntax LEFT(expression, NumberCharactersReturned)

  5. LEFT (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 3, 2024 · Using LEFT with a character string. The following example uses LEFT to return the two leftmost characters of the character string abcdefg. Here's the result set.

  6. SQL LEFT function in queries - SQL Shack

    Oct 22, 2021 · We can use the LEFT function to extract the characters of a table column. The following example returns the 4 leftmost characters of the FirstName column of the Person table. Literal strings are character expressions that are enclosed in single or double quotation marks.

  7. SQL LEFT Function - Online Tutorials Library

    Learn how to use the SQL LEFT function to extract a specified number of characters from the left side of a string. Explore examples and syntax for effective string manipulation.

  8. LEFT Function in SQL (String & Characters) with Examples

    Understanding the LEFT function and its applications can significantly enhance your ability to handle and manipulate text data in SQL databases. The LEFT function in SQL Extracting a substring from a string, beginning from the leftmost character. It takes two primary arguments: Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

  9. SQL LEFT() String Function - Syntax, Examples [4] - Tutorial Kart

    In this tutorial, we will go through SQL LEFt() String function, its syntax, and how to use this function in SQL statements for string operations, with the help of well detailed examples. The basic syntax of the SQL LEFT() function is: Each part of this syntax has a specific purpose: string: The string from which you want to extract characters.

  10. SQL Server LEFT() Function: Mastering String Manipulation with Examples

    Oct 27, 2024 · Let's start with some basic examples to illustrate how the LEFT () function works: Example 1: Extracting the first 5 characters from a string literal. Output: This query extracts the first 5 characters from the string "SQL Server", resulting in "SQL Se". Example 2: Extracting the first 3 characters from a column.

  11. Some results have been removed
Refresh