oracle sql wildcard like

Solutions on MaxInterview for oracle sql wildcard like by the best coders in the world

showing results for - "oracle sql wildcard like"
Mellina
05 Oct 2016
1SELECT * FROM table_name WHERE UPPER(col_name) LIKE '%SEARCHED%';
2SELECT * FROM table_name WHERE col_name LIKE '%Searched%';  -- Case sensitive
3
4SYMBOL	DESCRIPTION	(SQL)                       EXAMPLE
5%	    zero or more characters	                bl%      'bl, black, blue, blob'
6_	    a single character	                    h_t      'hot, hat, hit'
7[]	    any single character within brackets	h[oa]t   'hot, hat', but NOT 'hit'
8^	    any character not in the brackets	    h[^oa]t  'hit', but NOT 'hot, hat'
9-	    a range of characters	                [a-b]t   'cat, cbt'