Hi,
I am doing the build using ModelStore import from the TEST environment to Production, for the auditing purpose, I need to get the list of objects created or modified during each and every build.
Since it was a model store import, the created Date time & modified Date time will be similar to the TEST environment.
SQL Statement :
select
smet.Name as Name,
smet.TREENODENAME as TreeNodeName,
sme.Name as ObjectName,
smed.CREATEDBY as CreatedBy,
smed.CREATEDDATETIME as CreatedDateTime,
smed.MODIFIEDBY as ModifiedBy,
smed.MODIFIEDDATETIME as ModifiedDateTime
from SYSModelElementType smet
join SysModelElement sme
on sme.ElementType = smet.RecId
join SysModelElementData smed
on smed.ModelElement = sme.RecId
where smed.MODELID = '19' and
((CONVERT(DATE,smed.CREATEDDATETIME,123) between '2018-02-01' and '2018-02-28')
OR (CONVERT(DATE,smed.MODIFIEDDATETIME,123) between '2018-02-01' and '2018-02-28'));