Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of a field name DESC in SQL
Message
De
30/09/2001 12:45:17
 
 
À
30/09/2001 12:13:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00562338
Message ID:
00562341
Vues:
16
>>As someone found the logic of VFP when using a field name DESC in a SQL? Sometimes, the same SQL will generate an error if a field name is Desc. Most of the times it'll work.
>
>DESC is a keyword in both VFP-SQL and T-SQL, as in:
>
>SELECT Name, City ;
>FROM Customers
>ORDER BY Name DESC
>
>
>so I would avoid it as a field name.

Yes, I know. My point was mostly to know why VFP sometimes accept it and sometimes it don't.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform