About 51,900 results
Open links in new tab
  1. SQL 'LIKE' query using '%' where the search criteria contains

    May 29, 2012 · 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 …

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

    Is it possible to combine LIKE and IN in a SQL Server-Query? So, that this query

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

    Feb 13, 2009 · When using SQL, are there any benefits of using = in a WHERE clause instead of LIKE? Without any special operators, LIKE and = are the same, right?

  4. sql - how to use LIKE with column name - Stack Overflow

    Normally LIKE statement is used to check the pattern like data. example: select * from table1 where name like 'ar%' My problem is to use one column of table with LIKE statement. …

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

    The underscore is the wildcard in a LIKE query for one arbitrary character. Hence LIKE %_% means "give me all records with at least one arbitrary character in this column".

  6. List of special characters for SQL LIKE clause - Stack Overflow

    Two comments. First, Microsoft SQL comes initially from Sybase, so the resemblance is not coincidental. Second, escaping a single quote with another is not limited to LIKE; for example …

  7. mysql - how to use a like with a join in sql? - Stack Overflow

    For example, using a Like condition in an Outer Join will keep all records in the first table listed in the join. Using the same condition in the Where clause will implicitly change the join to an …

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

    Dec 19, 2016 · The "OR" operator applies to expressions. "LIKE 'str1'" and "LIKE 'str2'" are not valid expressions, since the "LIKE" operator requires both a left hand side and a right hand side.

  9. How can I introduce multiple conditions in LIKE operator?

    Sep 7, 2009 · 60 Oracle 10g has functions that allow the use of POSIX-compliant regular expressions in SQL: REGEXP_LIKE REGEXP_REPLACE REGEXP_INSTR …

  10. mysql - SQL SELECT LIKE (Insensitive casing) - Stack Overflow

    ALTER TABLE `schema`.`table` CHANGE COLUMN `column` `column` TEXT CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; Thus, you don't have to change your query. And the MySQL …