Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger Fails
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00753934
Message ID:
00754129
Vues:
14
Hi Patric.

>An update trigger is failing for a table that has a compound expression as it's primary index...ACCOUNT+DTOC(REQ_DATE)

The code generated by the RI Builder doesn't properly handle updates with compound keys (in fact, when you use the builder to generate the code, it warns you about this).

You'll have to manually edit the update trigger code for the table to specifically do what you need.

That's one of the reasons most database gurus strongly recommend using meaningless primary keys, such as automatically assigned integers. It completely avoids this problem.

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

Click here to load this message in the networking platform