Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate and SQL string is too long
Message
De
30/11/2004 01:34:59
 
 
À
29/11/2004 20:58:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00959751
Message ID:
00965621
Vues:
10
>And when you select "All fields", or the default (preferably, I think), "Key and modified fields", VFP will generate a more complicated SQL statement, and that is where your SQL statement can get too long.

Select "All fields" if your business rules depend on values of the unchanged fields. Otherwise changes by others can invalidate business-rule-wise your changes. The timestamp approach is better for this use case IMHO.

Select "Key and modified fields" if your fields are totally independant, and you only have to be catch direct conflicts. The timestamp approach might show you unnecessary/false conflicts, but runs less risk of error 18.

my 0.02 EUR

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

Click here to load this message in the networking platform