Subject | Re: [firebird-support] Null and LIKE Clause |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-27T12:01:33Z |
Hi,
operator, while IS NULL isn't.
No column value ('A' or whatever) will ever equal
NULL.
NULL = NULL results into False.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> When we use LIKE '%', adding OR COLUMN2 IS NULL will solve the problem.But
> when we use LIKE 'A%', the rows with null columns will be displayed too. ISo, what do you expect? LIKE is a comparison
> will put '%' or 'A%' in a bind variable.
operator, while IS NULL isn't.
No column value ('A' or whatever) will ever equal
NULL.
NULL = NULL results into False.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com