Subject | Re: [firebird-support] Null and LIKE Clause |
---|---|
Author | Helen Borrie |
Post date | 2004-04-27T12:44:22Z |
At 07:27 PM 27/04/2004 +0700, you wrote:
works on states, not values).
NULL can't be LIKE anything. It's not even LIKE NULL.
/heLen
>I expect, when I do a SELECT with option WHERE COLUMN2 LIKE '%', all of rowsWrong expectation. LIKE works on values, not states. (c.f. IS NULL which
>will be displayed, including the rows with COLUMN2 is null.
works on states, not values).
NULL can't be LIKE anything. It's not even LIKE NULL.
>But when I do aThat's good - it works, then. :-)
>SELECT with option WHERE COLUMN2 LIKE 'A%", only rows with the first
>character is 'A' will be displayed.
/heLen