About 89,600 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. 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. 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 …

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

  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. How to use LIKE condition in SQL with numeric field?

    3 In Access database engine SQL syntax, to use the % wildcard character EITHER you must be using ANSI-92 Query Mode OR use the ALIKE keyword in place of the LIKE keyword.

  8. Is the LIKE operator case-sensitive with SQL Server?

    Feb 19, 2013 · In the documentation about the LIKE operator, nothing is told about the case-sensitivity of it. Is it? How to enable/disable it? I am querying varchar(n) columns, on an …

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

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