Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check values on the server
Message
 
 
To
24/05/2010 12:21:26
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01465718
Message ID:
01465721
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform