I have 2 tables
MainTable MainTable_Prev MainTable_CDC
Want to compare MainTable and MainTable_Prev table, what ever is changed INSET,UPDATE and DELETED gets i