About 137,000 results
Open links in new tab
  1. SQL SELECT WHERE field contains words - Stack Overflow

    Jan 12, 2013 · Note that if you use LIKE to determine if a string is a substring of another string, you must escape the pattern matching characters in your search string. If your SQL dialect supports …

  2. SQL | String functions - GeeksforGeeks

    Dec 1, 2025 · SQL string functions help manipulate and format text data efficiently. They are widely used for cleaning, comparing, and extracting meaningful information from textual fields.

  3. SQL Server Functions - W3Schools

    SQL Server has many built-in functions. This reference contains string, numeric, date, conversion, and some advanced functions in SQL Server.

  4. String Functions (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · All built-in string functions except FORMAT are deterministic. This means they return the same value any time they are called with a specific set of input values.

  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 Where Contains String – Substring Query Example

    Mar 23, 2023 · If you’re working with a database, whether large or small, there might be occasions when you need to search for some entries containing strings. In this article, I’ll show you how to locate …

  7. SQL String Functions: A Complete Overview - LearnSQL.com

    May 9, 2024 · This article presents SQL string functions you can use to manipulate textual or string values. Follow examples and get recommendations for further reading.

  8. How to Select Rows in SQL Where a Column Contains Specific Words

    Mar 26, 2025 · In this tutorial, we’ll look at querying rows that contain given words or phrases in SQL. We tested our examples on MS SQL Server 2022, PostgreSQL 14, and MySQL 8 databases.

  9. Manipulate Strings in SQL Server with REPLACE, TRIM, STUFF, …

    Mar 5, 2024 · In this article, I’ll share the one function I used to remove those pesky numeric prefixes. We’ll examine how people have used LTRIM and RTRIM for years. Also, there is a little-known …

  10. SQL string matching

    String matching in SQL provides powerful tools for searching and filtering data based on textual patterns, making it a crucial aspect of database querying and analysis. The specific techniques and …