About 13,300,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 …

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

    Sep 7, 2009 · Oracle can certainly use an index for LIKE 'ABC%' but I don't believe it can use an index for REGEX operations (unless it's a funcion based index)

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

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

  5. How to use SQL "LIKE" operator by using wildcard?

    Jun 14, 2021 · SELECT * FROM [my_table] WHERE [description] LIKE % %2 % I know this example will not work, however is there a way to search for these values "%2" or "%20" using …

  6. Using the SQL LIKE operator with - Stack Overflow

    I had a requirement to create a query in SQL Server where the search condition would include/exclude a table based on user input. Say I have two tables, TABLE_A and TABLE_B …

  7. sql server 2008 - SQL query with NOT LIKE IN - Stack Overflow

    Please help me to write an SQL query with the condition as NOT LIKE IN.

  8. sql - Using 'LIKE' with an 'IN' clause full of strings - Stack Overflow

    1 Note that LIKE will work either case-sensitively or case-insensitively depending upon which collation is in effect for the expression, but in your case, you have specified no wildcards so …

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

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

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