Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check values on the server
Message
 
 
À
24/05/2010 12:21:26
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01465718
Message ID:
01465721
Vues:
49
>Hi All,
>I am trying to figure out if the field value was changed by one user during another user data manipulation.
>Something similar to OLDVAL() and CURVAL() functions, which I can use in the UPDATE trigger to see if the critical data, like quantities was changed.
>
>Thank you in advance
>Yelena

Yelena,

There is no similar concept in SQL Server. You may want to implement your own by using Audit table or using Rowversion and do comparison. This is actually how Entity Framework works and detects conflicts.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform