Information générale
Catégorie:
Codage, syntaxe et commandes
>In SQL Server an Update Trigger can test if columns have been updated and fire only if any of these columns have been updated.
>
>I've got a table which needs to fire such a trigger for several fields. However there may be other columns which frequently get updated.
>
>Does VFP support the IF UPDATE {column} syntax?
>
>If not am I better off running a table update trigger or using the sp in the rules for those columns which would fire the trigger?
you can do this tests in the code of the update trigger and just do nothing if the specific columns hasn't been changed
Arnon
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement