Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adjusting a SQL to be compliant with ANSI
Message
De
07/02/2003 16:37:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Adjusting a SQL to be compliant with ANSI
Divers
Thread ID:
00750823
Message ID:
00750823
Vues:
53
Take the following SQL in VFP 7:
SELECT SYS(15,m.euroansi,Ville) AS City,UPPER(SYS(15,m.euroansi,Ville)) AS City2,;
 COUNT(*) AS Compteur FROM Member WHERE Member.NoPays=lnCountry;
 ORDER BY 3 DESCENDING GROUP BY 2 INTO CURSOR Temp
How can I make this one compliant with ANSI SQL in VFP 8?

I adapted so far over 20 SQL that I had but this one is really something. Anyone knows how to do it? The problem here is that we have to keep two string values. One is the city without accented characters and the second one is the city in upper case which is one for the group by. Both has to be kept from the original SQL as otherwise we will loose the original state of the city as per its casing. But, as the new ANSI format in VFP 8 doesn't like it, we have to adapt this SQL. If anyone knows how to do it, it'll be appreciated.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform