When migrating from Voyager to Alma, you may want to identfy, review, and clean up any MFHD records that have more than one instance of 852 subfield b. While the MARC21 MFHD format allows the 852$b to be repeatable, the migration to Alma may process additional b subfields in a way that is not desirable (for more information, discuss this with your migration team).
These two queries, which you can run using Voyager Prepackaged Access Reports, can help you identify those records.
NOTE that the first query is a BLOB query and can take a very long time to run.
Make table query: Save this query and run it before running the Main Query.
SELECT MFHD_MASTER.MFHD_ID, MFHD_MASTER.SUPPRESS_IN_OPAC,
Replace(getfieldraw(getmfhdblob([mfhd_id]),'852',1),Chr(31),'$') AS mfhd852
Main Query (uses the table created in the previous query:
SELECT mfhds_w_852_raw_tbl.MFHD_ID, mfhds_w_852_raw_tbl.SUPPRESS_IN_OPAC,
WHERE (((mfhds_w_852_raw_tbl.mfhd852) Like "*$b*$b*"));
For other queries that may be useful, see my "Surviving Almanado: tips for a successful pre-implementation" presentation's Accompanying Materials.
Posted as is. If you need assistance in running custom SQL queries in Prepackaged Access Reports, consult the Voyager Customer Listserv.