Batch Record Deletion
There may be times when you will want to delete a batch of bibliographic records. You will need to delete all the attached items first, but then you can follow this process to delete the bibliographic records with no attached items.
First create a new report to list the records - All bibs where last item deleted
SELECT b.biblionumber, b.title, b.author
FROM biblio b
LEFT JOIN items i USING (biblionumber)
WHERE i.itemnumber IS NULL
AND b.biblionumber IN (SELECT biblionumber FROM deleteditems)
GROUP BY b.biblionumber
ORDER BY b.title
If you are happy to proceed, create a second new report to list just the biblionumbers - All biblionumbers where last item deleted
SELECT b.biblionumber
FROM biblio b
LEFT JOIN items i USING (biblionumber)
WHERE i.itemnumber IS NULL
AND b.biblionumber IN (SELECT biblionumber FROM deleteditems)
GROUP BY b.biblionumber
3. Run the report and when the results are listed, click the button to Download, and then Comma separated text (csv)
Make a note of the name of the downloaded file.
4. Go to Tools, then Batch Record Deletion
5. Select the downloaded file of biblionumbers and click Continue
7. Click the button to Delete selected records.