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

    Jan 12, 2013 · For example, if a document contains the sentence, "The word1 is word2 and word3," its ranking would be high because the terms are closer to one another than in other documents. We can …

  2. LIKE vs CONTAINS on SQL Server - Stack Overflow

    Sep 22, 2011 · 19 Having run both queries on a SQL Server 2012 instance, I can confirm the first query was fastest in my case. The query with the LIKE keyword showed a clustered index scan. The …

  3. Check if a column contains text using SQL - Stack Overflow

    Mar 2, 2017 · Check this link. I assume that if you use CONTAINS, you are using Full text catalog.

  4. Use of contains() in sql server - Stack Overflow

    Jun 14, 2013 · I am having a table name Product contains 3 columns as: Product-id name Price In name column, all product names are present. Example: 1340 GPS, 1340T GPS etc. When I write select top …

  5. sql - MySQL query String contains - Stack Overflow

    This will only work if your using a prepared query. If you're using an actual string in there (ex. liquibase sql upgrade script) then consider INSTR mentioned below). This is because if your string contains a …

  6. string - SQL Check if a text contains a word - Stack Overflow

    Apr 1, 2015 · SQL Check if a text contains a word Asked 10 years, 8 months ago Modified 7 years, 3 months ago Viewed 74k times

  7. sql - SQLite string contains other string query - Stack Overflow

    Aug 17, 2010 · How do I do this? For example, if my column is "cats,dogs,birds" and I want to get any rows where column contains cats?

  8. SQL SELECT where column CONTAINS substring - Stack Overflow

    Jun 25, 2019 · I have a database containing all usernames. Now, I have a page where I can search for an user. At the moment I use the following SQL: SELECT uid, username, id, status FROM users …

  9. sql - How do I check if a string contains a number - Stack Overflow

    Jul 5, 2012 · I need to check if a string contains a number. Any number. Not wether or not the string IS a number, but if it contains one. Examples: 'test' = no numbers. 'test2' = contains number.

  10. sql - How can I tell if a VARCHAR variable contains a substring ...

    IF CONTAINS(@stringVar, 'thisstring') ... I have to run one select or another, depending on whether that variable contains a string and I can't figure out how to get it to work. All the examples I'm seeing are …