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.
Paul Roberts — — source: Informix-list mailing list archive (1991-1998)
Paul Roberts <proberts@lynx.informix.com> wrote:
>
>I really feel that we ought to be able to say:
>
> select *
> from tab1
> where column1 mod 100 = 87>
>But last time I looked, the "mod" function was available in 4GL but
>not in SQL.
Well, clearly I don't look often enough. It turns out that
select *
from tab1
where mod(column1,100) = 87
does what I want. I'm running I-SQL 4.11.UC1. Sorry for any
confusion caused!
- Paul
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.