Topic: Batch Update - Delete Taxon Occurences based on a csv file - error
Hi All,
We need to delete a load (30,000) duplicate records. We have created a CSV file of all the taxon occurence keys - just a simple list - no headers.
We are using the 'run batch update' called 'Delete Taxon Occurence based on csv file.
However, we are getting the following error (attached):
There is an error in the SQL code. The error message is: 'The DELETE statement conflicted with the REFERENCE constraint "FK_TAXON_OCCURENCE_SAMPLE"....
Any suggestions on how to proceed? is there a better way of deleting these records? Can we go in and manually delete them from the TAXON_OCCURENCE table? :o Would this break any relationships?
Many thanks,
Steve
Steve Goddard - IT Officer
Biodiversity Information Service for Powys & Brecon Beacons National Park
T: 01874 610881 - E: steve[at]b-i-s.org - W: www.b-i-s.org