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.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
From: Peter Ai <peter@quanta.co.nz>
>
>You can use cursor to fetch the first record that meets your criteria and
>close it immediately.
>
>On Thursday, March 02, 2000 1:12 PM, PN [SMTP:pnguyen@lightspeed.net]
>wrote:
> > I need help:
> > Table A:
> > Cust_no
> >
> > Table B:
> > Cust_no
> > Cust_name
> >
> > Table B can contain duplicated cust_no's, each with an alternate name
>for
> > the customer
> > How can I select ONLY 1 record from table B using a cust_no from table A
>?
GROUP BY or SELECT FIRST? :-)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
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.