IsLike



Returns true (1) if the text matches the pattern. The pattern uses the same wildcards as Like: % matches any number of characters and _ matches a single character.

Boolean IsLike(String text, String pattern)

Boolean results

Boolean functions return 1 for true and 0 for false. In a WHERE clause compare the result to 1 (or true), for example: WHERE IsLike(Text, 'Cat%') = 1


round-pushpin Selects words that start with 'Ca'.
SELECT Text FROM WordList:Word WHERE IsLike(Text, 'Ca%') = 1

round-pushpin Evaluates a constant.
SELECT IsLike('Hello World', '%o w%') as Matches FROM Single