Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic SQL clause question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00700804
Message ID:
00700830
Vues:
10
>select....
>group by Clients.ClientName..
>UNION
>select....
>group by Clients.ClientName..
>order by 1

Tried that one, got a "Missing ) parenthesis" error, wich only disapears when i remove the order by clause

>
>OR
>
>select....
>UNION
>select....
>group by 1
>order by 1

With this one, i kept receiving "Syntax error" all the time.
The weird thing is that i have in other apps much more complicated UNIONS in views, wich also have the group by and order by in the end, and work perfectly! I think i'm going to double-check i'm getting the right data in those views, before i get killed by my client...
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform