Subject | Re: [firebird-support] Null and LIKE Clause |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-27T11:09:51Z |
> Some rows in some columns in a table contain null. When I SELECT them withOR COLUMN2 IS NULL
> LIKE clause on those columns, rows that contain null, not be selected. How
> to solve it?
>
> Table X
>
> Column1 Column2
> ===============
> AAA NULL
> AAB AAB
> AAC AAC
>
> SELECT * FROM X WHERE COLUMN2 LIKE '%'
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com