Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi my friends,
I have a record that was updated manually. For example its data was 'Jon' and it was changed to 'Michel' by a staff manually.
Now i'll want to retrieval previous data ("Jon") of record was updated and also date and time of when it was happened by staff. For example show '2014/02/03' & '9:30:20'
Thanks and regret.
Posted
Updated 23-Feb-15 22:22pm
v2
Comments
OriginalGriff 24-Feb-15 1:58am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
It's probably a language problem, but perhaps an example of what you mean, and what data you are trying to retrieve would help?
Use the "Improve question" widget to edit your question and provide better information.
Elham.Deljooei 24-Feb-15 4:23am    
Hi my friend,
Thanks for you suggestion.
I've done it.

1 solution

Not a trivial exercise: you can do it manually, by timestamping changed records, and keeping archive details of the state before they were changed, or you can use SQL Change Data Capture[^] - but neither is simple: you will need to be pretty careful about how you handle your DB in order to maintain data integrity.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900