Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNION SELECT... please correct me
Message
De
30/10/1998 18:26:43
 
 
À
29/10/1998 21:30:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00150818
Message ID:
00153082
Vues:
33
>See, in the last paragraph pasted, where it says "ONLY THE FINAL SELECT CAN HAVE AN ORDER BY CLAUSE. . ."????
>
>By the way, I seem to have had trouble reading today, but I did *not* see anything in the Help specifying that TOP must be in the first. Where did you get that from???

It doesn't say it in clear. But, in the SELECT's syntax/template, "TOP" is in the first SELECT (or, before "UNION", anyway). So, this is where I got it. Still, I agree with your logic: since ORDER BY and TOP are related, etc.

>And I don't really know what you mean by "ORDER BY works fine with SELECT *", since I don't think I ever said there was a problem there.

Oops! My mistake. It should have been "UNION" and not "ORDER BY". Anyway, UNION and TOP work fine with SELECT *.

I wonder how large a complete doc on SELECT would be. I also wonder how many would read it. :) And I wonder how many would know it. :)

Have a nice weekend,
Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform