like on table employeemaster which operation is done like insert or update or delete kind of operation performed on the specified date.
thank you in advance ..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 14, 2013, 7:58 PM EDT
hi,
you mean to say audit log type of functionality?
you can find it out from log file (.LDF) we can read the log with (DBCC LOG and fn_dblog).
http://killspid.blogspot.in/2006/07/using-fndblog.html
http://www.confio.com/logicalread/sql-server-dbcc-log-command-details-and-example/#.UWt5-jcWjHo
also you can put you extra logic to track this like use CDC or custom change track mechanism.
hope this will help you.
Pradip PandeyRank #452 · 5.6K reputationPosted Apr 14, 2013, 9:11 PM EDT
You can do this by using your custom logic. For any kind of operation always insert a record in the table along with status i.e 'I'.'E','D'. So now you will have all the records in the table related with the activities.
Hope it will help.
trilok pathak5 reputationPosted Apr 16, 2013, 9:58 PM EDT
sir what i want like if i am giving the name of the table so query should return me like which operations are performed on it
trilok pathak5 reputationPosted Apr 16, 2013, 10:01 PM EDT
but can you tell me any site so i can take reference from it
thank in advance and hv gd