Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server equivalent to VFP's GETFLDSTATE()
Message
 
À
05/04/2023 14:57:53
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
01686452
Message ID:
01686453
Vues:
45
>Hi!
>
>When using triggers in SQL Server I would like to know which fields of a modified record have been changed, just like VFP's GetFldState() function. Is there any equivalent function or script?
>
>TIA

In triggers you can use UPDATED() function.
But you can't use if to check ALL fields.
And the question is WHY you need this?
In triggers you get only updated records.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform