Get audit history records of any entity record as per CRM view
问题 I want to display all audit history data as per MS CRM format. I have imported all records from AuditBase table from CRM to another Database server table. I want this table records using SQL query in Dynamics CRM format (as per above image). I have done so far select AB.CreatedOn as [Created On],SUB.FullName [Changed By], Value as Event,ab.AttributeMask [Changed Field], AB.changeData [Old Value],'' [New Value] from Auditbase AB inner join StringMap SM on SM.AttributeValue=AB.Action and SM