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.
"Andy Kent" — — source: Informix-list mailing list archive (1991-1998)
> Kevin Johnson (kj@ix.netcom.com) wrote:
> : I'm using SQL 4.1. Does anyone know how to capture the
> : user's name in a form?
>
> select user from systables
> where 1 = 2
Yuk! Looks like the kind of nonsense Uniface would generate. Ugh!!
Definitely a sequential scan job. Avoid!
Not only that, I'm not sure it would actually return anything as the
where clause would never be true...?
Try:
select user from systables
where tabid=1
Quick, easy.
akent@cix.compulink.co.uk (Andy Kent)
-------------------------------------
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.