Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of reserved words
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00680191
Message ID:
00680236
Vues:
22
>Answer me this please. I know it is ill-advised to use reserved words as functions and variables, but what are the consequences of say creating a procedure called 'refresh' or declaring 'isreadonly' as a private variable?

The majority of the problems I've run into are with fields using SQL keywords -- they cause a SQL SELECT statement to fail with syntax errors. For example, one system I worked with had a field called DESC (short for "description"). SELECT DESC FROM TABLE gives an error because DESC is a SQL keyword (short for "descending").

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform