About 14,200 results
Open links in new tab
  1. How do I search an SQL Server database for a string?

    Dec 8, 2019 · I need to search an SQL Server database for all mentions of a specific string. For example, I would like to search all tables, views, functions, stored procedures, ... for string …

  2. SQL 'LIKE' query using '%' where the search criteria contains

    May 29, 2012 · 46 I have an SQL query as below. Select * from table where name like '%' + search_criteria + '%' If search_criteria = 'abc', it will return data containing xxxabcxxxx which is …

  3. 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 …

  4. sql - Find all tables containing column with specified name - Stack ...

    In MS SQL Server Database, use this query to get the tables and respective column names that contains the input text: SELECT t.name AS tableName, c.name AS columnName

  5. How do I escape a percentage sign in T-SQL? - Stack Overflow

    Aug 25, 2016 · 242 This question also has the answer, but it mentions DB2 specifically. How do I search for a string using LIKE that already has a percent % symbol in it? The LIKE operator …

  6. SQL- Ignore case while searching for a string - Stack Overflow

    Apr 18, 2013 · I have the following data in a Table PriceOrderShipped PriceOrderShippedInbound PriceOrderShippedOutbound In SQL I need to write a query which searches for a string in a …

  7. sql - How to search about a specific value in all columns in the …

    May 18, 2015 · 1 This query will search a specific string in all tables, rows and columns of a database, if found results it will return table's name and column's name of that table that …

  8. SQL Server search for a column by name - Stack Overflow

    Sep 21, 2010 · I'm doing some recon work and having to dig through a few hundred SQL Server database tables to find columns. Is there a way to easily search for columns in the database …

  9. sql - Why does using an Underscore character in a LIKE filter give …

    This is the correct answer as the user specified the sql-server tag in their question and their provided SQLFiddle is also designated as MS SQL Server 2008.

  10. sql - Case sensitive search in WHERE clause - Stack Overflow

    Dec 2, 2009 · I want to do a case sensitive search in my SQL query. But by default, SQL Server does not consider the case of the strings. Any idea on how to do a case sensitive search in …