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.
Darin Tracy — — source: Informix-list mailing list archive (1991-1998)
Take a look at the bitval SPL in sysmaster.
This spl will do the job for you..
dtracy
Lucabond wrote:
>
> I have to perform a bitwise comparison (and) between two integer numbers
> inside a SQL query on a Informix DB (ver. 5.01 and 7.1), SO HP-UX 9.04. I
> would appreciate help, because the system doesn't accept these kinds of
> statement:
>
> select count(*) from table where (field1 and integer) <> 0> <syntax error>
> select count(*) from table where (field1 & integer) <> 0 <illegal> character>
>
> Regards
>
> Lucabond
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.