Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Douglas Wilson — — source: Informix-list mailing list archive (1991-1998)
If a is a char (not a varchar) then Informix
stores a non-null 'blank' value as all spaces.
Both of your queries are looking for non-null
'blanks' so they are the same.
Douglas Wilson
Patrick Preuss wrote:
>
> Hi,
>
> how is it possible, that
> select * from x where x.a = ''> has the same result as
> select * from x where x.a = ' '
> and x.a consists of blanks?
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.