How to get all the transaction logs (insert update delete) for a specific table.
Table have Parent and child relations
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
Rijwan AnsariRank #82 · 24.2K reputationPosted Feb 17, 2021, 12:58 PM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 17, 2021, 7:47 AM EST
Harsh ShahRank #1,322 · 1.3K reputationPosted Feb 17, 2021, 11:25 PM EST
SELECT* FROM sys.fn_dblog(NULL,NULL) WHERE Operation IN ('LOP_INSERT_ROWS','LOP_MODIFY_ROW', 'LOP_DELETE_ROWS','LOP_BEGIN_XACT','LOP_COMMIT_XACT')