home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lhdsy1!nntpserver.chevron.com!abds7.aberdeen.chevron.com!epeas
- From: epeas@abds7.aberdeen.chevron.com (John Peach)
- Newsgroups: comp.databases.oracle
- Subject: Re: Explain THIS, please!
- Message-ID: <1992Dec23.085014@abds7.aberdeen.chevron.com>
- Date: 23 Dec 92 08:50:14 GMT
- References: <1gtd91INN7ln@ef2007.efhd.ford.com> <1992Dec22.163411.557@hhcs.gov.au>
- Sender: news@nntpserver.chevron.com (USENET News System)
- Reply-To: epeas@aberdeen.chevron.com
- Organization: Chevron (UK) Ltd.
- Lines: 41
- Disclaimer: The opinions expressed are mine; _not_ those of
- the company I work for.
-
- In article <1992Dec22.163411.557@hhcs.gov.au>, champs@hhcs.gov.au writes:
- |> In article <1gtd91INN7ln@ef2007.efhd.ford.com>, wwm@ef5003.efhd.ford.com (Bill Meahan) writes:
- |> > I'm tearing my hair out at the following:
- |> >
-
- -------stuff deleted------
-
- |> **************************
- |> WARNING ! WARNING ! ORDER BYs DON'T WORK IN SUB-QUERIES
- |> At least they don't in our version (VAX 3.0.9.7.1). As soon as we put an order
- |> by in a sub-query we got your error (group by worked fine though). The SQL
- |> reference says you can't have order by in a sub-query on insert,update, and
- |> delete but does not say they're illegal in a select.
- |>
-
- The Oracle7 documentation is more specific:
-
- "The ORDER BY clause cannot appear in subqueries within other statements".
-
-
- -------more deleted------
-
- |>
- |> Hope this helps.
- |> ------------------------------------------------------------------------------
- |> /\ Steven Champness
- |> / \ Dept Health Housing and Community Services
- |> / \ Brisbane Queensland
- |> / \ via
- |> / / \ Canberra Australia
- |> \ / / /
- |> \/ / / / MACINTOSH SOFTWARE AXIOM : If you need a manual to operate it
- |> \/ / / it wasn't designed properly in the
- |> \/ / first place !
- |> \/
-
- --
- John Peach
- Chevron (UK) Ltd.
- Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
- Internet: epeas@aberdeen.chevron.com Phone: +44 224 242637
-