Oracle-configuratie :
CREATE TABLE your_table ( strname ) AS
SELECT '''canada'',''tower''' FROM DUAL UNION ALL
SELECT '''south'',''africa''' FROM DUAL;
Zoekopdracht :
SELECT *
FROM your_table
WHERE strname LIKE '%''' || lower( 'canada' ) || '''%'
Uitvoer :
STRNAME
----------------
'canada','tower'
Zoekopdracht :
SELECT *
FROM your_table
WHERE strname LIKE '%''' || lower( 'south' ) || '''%'
AND strname LIKE '%''' || lower( 'africa' ) || '''%'
Uitvoer :
STRNAME
----------------
'south','africa'