====== MySQL String ====== * [[http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html|String Comparison Functions]] ===== Wildcard(%,_) Escape ===== LIKE 검색에서 와일드카드인 %와 _ 자체를 검색어로 사용하고자 한다면, **\% \_**로 이스케이핑한다. 혹은 ''ESCAPE '문자''' 구문으로 Escape 문자를 직접 지정할 수도 있다. SELECT 'David!' LIKE 'David\_'; SELECT 'David_' LIKE 'David|_' ESCAPE '|';