About 50 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. 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. 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 REGEXP_SUBSTR See the Oracle …

  4. How to use LIKE and NOT LIKE together in a SQL Server query

    Mar 2, 2016 · I have this a SQL Server table Users with a column codename with a lot of records, example:

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

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

  7. SQL Server datetime LIKE select? - Stack Overflow

    Oct 27, 2009 · in MySQL select * from record where register_date like '2009-10-10%' What is the syntax in SQL Server?

  8. How to use SQL LIKE condition with multiple values in PostgreSQL?

    86 Is there any shorter way to look for multiple matches: SELECT * from table WHERE column LIKE "AAA%" OR column LIKE "BBB%" OR column LIKE "CCC%" This questions applies to PostgreSQL …

  9. SQL Like with a subquery - Stack Overflow

    GROUP BY equipment_type) || '%' The inner sub query returns a list of strings like 'The' 'test' 'another' and i want to select all items from the item table where the item_name is similar to the sub queries …

  10. T-SQL and the WHERE LIKE %Parameter% clause - Stack Overflow

    see my answer (currently below). the wildcard-symbol is PART of the SEARCH expression, not part of the sql-query. It is entered by the USER (or, if wildcard-search is predefined, is appended to the …