Mobile app version of vmapp.org
Login or Join
Dunderdale272

: Delete data records in DHIS 2 Tracker I have entered test data into the DHIS 2 Tracker program. Now I want to delete all test data. How can I do this?

@Dunderdale272

Posted in: #Dhis2

I have entered test data into the DHIS 2 Tracker program. Now I want to delete all test data. How can I do this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Dunderdale272

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

To remove ALL tracker data from your DHIS2 database run the following sql commands in order:

delete from trackedentitydatavalue;
delete from programstageinstance;
delete from programinstance;
delete from trackedentityaudit;
delete from trackedentityattributevalue;
delete from trackedentityinstance;


WARNING: This cannot be undone

From www.npmjs.com/package/dhis2-tracker-populator

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme