select * from dbo.databasechangelog 
--where filename like '%box/%'
order by dateexecuted desc
limit 1000;

select * from v_personevn where person_id=500801000000041;
select * from personstateall where person_id=500801000000001;
select * from Personstate where document_id=500801000000023;

select * from Personstate where document_id not in (select personevn_id from dbo.personevn);

