It depends. One way to about this is to export all your data to a BCM
file (an XML text file), edit the data to make the corrections, create
a new database, and import the edited data back in.
Whether this is feasible in your case depends on how easy it is to fix
the data in the BCM file using a text editor's search-and-replace
feature.