Comment 1 for bug 1792732

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thinking about this a bit more, I guess a simple way to do that would be to just issue the following SQL:

`UPDATE authority.record_entry SET deleted=TRUE WHERE NOT deleted AND id NOT IN (SELECT DISTINCT authority FROM authority.bib_linking)`

And then refine that SQL based on specific needs.