About 522,000 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 fine.

  2. 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?

  3. sql - Why does using an Underscore character in a LIKE filter give me ...

    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".

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

    Sep 7, 2009 · 5 I also had the same requirement where I didn't have choice to pass like operator multiple times by either doing an OR or writing union query.

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

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

    CHANGE COLUMN `column` `column` TEXT CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; Thus, you don't have to change your query. And the MySQL engine will process your query quicker …

  7. 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. example: sele...

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

    Dec 19, 2016 · How do you OR two LIKE statements? Asked 17 years, 2 months ago Modified 2 years, 9 months ago Viewed 194k times

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

  10. sql server - SQL Multiple LIKE Statements - Stack Overflow

    Jun 22, 2015 · SQL Multiple LIKE Statements Asked 10 years, 6 months ago Modified 3 years, 9 months ago Viewed 62k times