About 13,700 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 · Select * from table where name like '%' + search_criteria + '%' If search_criteria = 'abc', it will return data containing xxxabcxxxx which is fine. But if my search_criteria = 'abc%', …

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

    These come in very handy if your database contains encrypted objects (views, procedures, functions) because you can’t easily search for these using system tables.

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

    May 18, 2015 · 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 …

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

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

    As you want to specifically search for a wildcard character you need to escape that This is done by adding the ESCAPE clause to your LIKE expression. The character that is specified with …

  7. How can I query a value in SQL Server XML column

    Apr 27, 2012 · Obviously this is a bit of a hack and I wouldn't recommend it for any formal solutions. However I find this technique very useful when doing adhoc queries on XML …

  8. SQL search multiple values in same field - Stack Overflow

    Apr 26, 2013 · SQL search multiple values in same field Asked 12 years, 6 months ago Modified 4 years, 1 month ago Viewed 402k times

  9. Search text in stored procedure in SQL Server - Stack Overflow

    Feb 5, 2013 · I want to search a text from all my database stored procedures. I use the below SQL: SELECT DISTINCT o.name AS Object_Name, o.type_desc FROM sys.sql_modules m …

  10. sql - Search All Fields In All Tables For A Specific Value (Oracle ...

    Oct 16, 2008 · Is it possible to search every field of every table for a particular value in Oracle? There are hundreds of tables with thousands of rows in some tables so I know this could take …