About 240,000 results
Open links in new tab
  1. How can I introduce multiple conditions in LIKE operator?

    Sep 7, 2009 · How to use LIKE operator in Oracle SQL. 0. ORACLE SQL LIKE OR CONDITION. 1. LIKE on multiple values, all ...

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

    May 29, 2012 · You can also use the escape character with the _ character in the SQL LIKE condition. For example: SELECT * FROM suppliers WHERE supplier_name LIKE 'H%!_' …

  3. Combining "LIKE" and "IN" for SQL Server - Stack Overflow

    how to use many LIKE conditions in SQL easily? 2. How to shorten SQL LIKE statement. 1.

  4. sql - How do you OR two LIKE statements? - Stack Overflow

    Dec 19, 2016 · SELECT col FROM db.tbl WHERE col (LIKE 'str1' OR LIKE 'str2') AND col2 = num results in a syntax error; SELECT col FROM db.tbl WHERE page LIKE ('str1' OR 'str2') AND …

  5. mysql - Using SQL LIKE and IN together - Stack Overflow

    Feb 23, 2010 · SELECT * FROM tablename WHERE column LIKE 'M510%' OR column LIKE 'M615%' OR column LIKE 'M515%' OR column LIKE 'M612%'; Just be aware that things like …

  6. sql - Equals (=) vs. LIKE - Stack Overflow

    Feb 12, 2009 · How Does LIKE Work? The SQL Standard § 8.5 describes how LIKE compares strings: The <predicate> M LIKE P. is true if there exists a partitioning of M into substrings …

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

    What's not stated here is that this also works on SQL Server - which initially left me agog at why the OP accepted an answer for Oracle SQL, when they themselves tagged the question for …

  8. SQL Server: use CASE with LIKE - Stack Overflow

    I am pretty new to SQL and hope someone here can help me with this. I have a stored procedure where I would like to pass a different value depending on whether a column contains a certain …

  9. SQL Server datetime LIKE select? - Stack Overflow

    Oct 27, 2009 · You can use CONVERT to get the date in text form. If you convert it to a varchar(10), you can use = instead of like: select * from record where …

  10. Is there a combination of "LIKE" and "IN" in SQL?

    Jun 10, 2010 · In SQL I (sadly) often have to use "LIKE" conditions due to databases that violate nearly every rule of normalization. I can't change that right now. But that's irrelevant to the …

Refresh