Subject | Re: [firebird-support] Select on varchar with spaces |
---|---|
Author | Philippe Makowski |
Post date | 2005-06-27T06:35:35Z |
Le 26/06/2005 22:49, Nick Upson a dit :
will return the records that consists
of blanks only, too".
> In article <42BF0EBC.7050201@...>, Philippe Makowski wrote:not, because "asking for WHERE F_VARCHAR = '' doesn't work since it
>
>>select
>> *
>>from
>> T_BLANC
>>WHERE STRLEN(F_VARCHAR)=0 AND F_VARCHAR IS NOT NULL
>>
>
>
> why not use
>
> select
> *
> from
> T_BLANC
> WHERE F_VARCHAR = ''
>
> that's 2 ' characters with no space between them
>
will return the records that consists
of blanks only, too".