Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select TOP 1 on two fields
Message
De
26/02/2023 04:31:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/02/2023 14:23:07
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01686062
Message ID:
01686271
Vues:
48
>>Is this VFP or TSQL? Because convert(..., 101) looks like TSQL, and I'm not sure „order by 1“ is allowed in TSQL. Last time I tried you had to repeat the whole expression in the order by clause.

>Yes, sql server supports order by 1, I don't remember last time when I used VFP. :)

Emphasis on „last time I tried“, which was some years ago, and never bothered to check if newer versions allowed numbers, because there was always some customer with the old version, and nobody wants to code for version specific features.

BTW, just checked, Postgres 12 also allows for numeric order by.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform