Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> SQL: UNION ALL and ORDER BY

SQL: UNION ALL and ORDER BY

From: abracad <abracad_at_hotmail.com>
Date: Tue, 10 Jul 2001 21:46:14 GMT
Message-ID: <3b4b6af1.525899@news.freeserve.net>

I have an SQL QUERY containing a number of SELECT FROM WHERE's joined by UNION ALL statements. Following the last statement is a single ORDER BY clause.

On my system the ORDER BY affects the order of all the results from the preceding SELECTs.

As I may wish to port this to other databases, is the feature described above standard SQL or specific to my implementation? Received on Tue Jul 10 2001 - 16:46:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US